summaryrefslogtreecommitdiff
path: root/lib/commandinterpreter.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/commandinterpreter.php')
-rw-r--r--lib/commandinterpreter.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/commandinterpreter.php b/lib/commandinterpreter.php
index d878fe268..ecc08f101 100644
--- a/lib/commandinterpreter.php
+++ b/lib/commandinterpreter.php
@@ -47,6 +47,18 @@ class CommandInterpreter
} else {
return new LoginCommand($user);
}
+ case 'followers':
+ if ($arg) {
+ return null;
+ } else {
+ return new FollowersCommand($user);
+ }
+ case 'following':
+ if ($arg) {
+ return null;
+ } else {
+ return new FollowingCommand($user);
+ }
case 'on':
if ($arg) {
list($other, $extra) = $this->split_arg($arg);