summaryrefslogtreecommitdiff
path: root/lib/commandinterpreter.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-10-28 14:21:51 -0400
committerEvan Prodromou <evan@status.net>2009-10-28 14:21:51 -0400
commit6c615f6801540d8b28cdc6d4ecf817943c11db34 (patch)
tree86967dd32fcbad904cd06b866b2f7cd0e748343e /lib/commandinterpreter.php
parent7df082abb8f9570e55bac209068146e34b3781b4 (diff)
parentbf701b8235c22e648e44adfed8a9cb8e30cf9eab (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'lib/commandinterpreter.php')
-rw-r--r--lib/commandinterpreter.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/commandinterpreter.php b/lib/commandinterpreter.php
index 60fc4c3c4..b921a17cc 100644
--- a/lib/commandinterpreter.php
+++ b/lib/commandinterpreter.php
@@ -134,6 +134,17 @@ class CommandInterpreter
} else {
return new MessageCommand($user, $other, $extra);
}
+ case 'r':
+ case 'reply':
+ if (!$arg) {
+ return null;
+ }
+ list($other, $extra) = $this->split_arg($arg);
+ if (!$extra) {
+ return null;
+ } else {
+ return new ReplyCommand($user, $other, $extra);
+ }
case 'whois':
if (!$arg) {
return null;