Added a "groups" command

This commit is contained in:
Craig Andrews
2009-11-16 11:23:00 -05:00
parent 7177585630
commit 0e7dd81a6c
2 changed files with 26 additions and 0 deletions

View File

@@ -59,6 +59,12 @@ class CommandInterpreter
} 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);