mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
asterisk: use eq instead of == for comparing a variable to a string
sumpfralle suggested this change on github, since the comparisons are meant to be string comparisons.
This commit is contained in:
parent
b8eba4d75c
commit
e14659d02c
1 changed files with 2 additions and 2 deletions
|
@ -258,7 +258,7 @@ my $voicemail_response = asterisk_command($socket, "voicemail show users");
|
|||
#2 voicemail users configured.
|
||||
|
||||
my $meetme_response;
|
||||
if ($meetme_enabled == '1') {
|
||||
if ($meetme_enabled eq '1') {
|
||||
$meetme_response = asterisk_command($socket, "meetme list");
|
||||
#Conf Num Parties Marked Activity Creation
|
||||
#5500 0001 N/A 00:00:03 Static
|
||||
|
@ -266,7 +266,7 @@ if ($meetme_enabled == '1') {
|
|||
}
|
||||
|
||||
my $confbridge_response;
|
||||
if ($confbridge_enabled == '1') {
|
||||
if ($confbridge_enabled eq '1') {
|
||||
$confbridge_response = asterisk_command($socket, "confbridge list");
|
||||
#Conference Bridge Name Users Marked Locked Muted
|
||||
#================================ ====== ====== ====== =====
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue