]> 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 a769dc1fc641275c8dbb45afa899d28d9a9abe72..30db9d0691762bdfa2372ebee8326f13e1140263 100644 (file)
@@ -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)) {