diff options
Diffstat (limited to 'lib/commandinterpreter.php')
-rw-r--r-- | lib/commandinterpreter.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/commandinterpreter.php b/lib/commandinterpreter.php index d878fe268..665015afc 100644 --- a/lib/commandinterpreter.php +++ b/lib/commandinterpreter.php @@ -47,6 +47,24 @@ class CommandInterpreter } else { return new LoginCommand($user); } + case 'subscribers': + if ($arg) { + return null; + } else { + return new SubscribersCommand($user); + } + case 'subscriptions': + if ($arg) { + return null; + } else { + return new SubscriptionsCommand($user); + } + case 'groups': + if ($arg) { + return null; + } else { + return new GroupsCommand($user); + } case 'on': if ($arg) { list($other, $extra) = $this->split_arg($arg); |