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 db8e80030..5be9cd6e8 100644
--- a/lib/command.php
+++ b/lib/command.php
@@ -609,7 +609,7 @@ class OffCommand extends Command
}
function execute($channel)
{
- if ($other) {
+ if ($this->other) {
$channel->error($this->user, _("Command not yet implemented."));
} else {
if ($channel->off($this->user)) {
@@ -632,7 +632,7 @@ class OnCommand extends Command
function execute($channel)
{
- if ($other) {
+ if ($this->other) {
$channel->error($this->user, _("Command not yet implemented."));
} else {
if ($channel->on($this->user)) {