diff options
Diffstat (limited to 'lib/command.php')
-rw-r--r-- | lib/command.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/command.php b/lib/command.php index 2b61a0c80..90a321ad3 100644 --- a/lib/command.php +++ b/lib/command.php @@ -719,7 +719,7 @@ class OffCommand extends Command } function handle($channel) { - if ($other) { + if ($this->other) { // TRANS: Error text shown when issuing the command "off" with a setting which has not yet been implemented. $channel->error($this->user, _("Command not yet implemented.")); } else { @@ -745,7 +745,7 @@ class OnCommand extends Command function handle($channel) { - if ($other) { + if ($this->other) { // TRANS: Error text shown when issuing the command "on" with a setting which has not yet been implemented. $channel->error($this->user, _("Command not yet implemented.")); } else { |