]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/command.php
Merge branch '0.9.x' into 1.0.x
[quix0rs-gnu-social.git] / lib / command.php
index db8e8003041f0d2cdfc35cc10d8a259b42364e7a..5be9cd6e85bdc161145a345796ba53d1084b1c3f 100644 (file)
@@ -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)) {