summaryrefslogtreecommitdiff
path: root/lib/command.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command.php')
-rw-r--r--lib/command.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/command.php b/lib/command.php
index a769dc1fc..30db9d069 100644
--- a/lib/command.php
+++ b/lib/command.php
@@ -678,7 +678,7 @@ class OffCommand extends Command
}
function handle($channel)
{
- if ($other) {
+ if ($this->other) {
$channel->error($this->user, _("Command not yet implemented."));
} else {
if ($channel->off($this->user)) {
@@ -701,7 +701,7 @@ class OnCommand extends Command
function handle($channel)
{
- if ($other) {
+ if ($this->other) {
$channel->error($this->user, _("Command not yet implemented."));
} else {
if ($channel->on($this->user)) {