summaryrefslogtreecommitdiff
path: root/lib/commandinterpreter.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-11-16 11:23:00 -0500
committerCraig Andrews <candrews@integralblue.com>2009-11-16 11:23:00 -0500
commit0e7dd81a6cf38c879f24f476411104d67b9eb177 (patch)
treefe6108427cc3b99dfcca9570d344c6e569a9bb09 /lib/commandinterpreter.php
parent717758563038e802976fbd5fcdede45804b82c51 (diff)
Added a "groups" command
Diffstat (limited to 'lib/commandinterpreter.php')
-rw-r--r--lib/commandinterpreter.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/commandinterpreter.php b/lib/commandinterpreter.php
index c39fafb62..665015afc 100644
--- a/lib/commandinterpreter.php
+++ b/lib/commandinterpreter.php
@@ -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);