summaryrefslogtreecommitdiff
path: root/lib/commandinterpreter.php
diff options
context:
space:
mode:
authorBrenda Wallace <shiny@cpan.org>2009-12-28 01:57:51 +0000
committerBrenda Wallace <shiny@cpan.org>2009-12-28 01:57:51 +0000
commitf4459dfedcdea2f2a6078bedf9530deb45b6d52c (patch)
tree942db6159710f5dd17e0c43a5659e1eec027a9e6 /lib/commandinterpreter.php
parent9d3829df9d29581c1d0281e57fda8ba4452ce2c2 (diff)
parentce8c69a49fc6668a19886ebc354ea5bef808d12a (diff)
Merge commit 'origin/0.9.x' into 0.9.x
Diffstat (limited to 'lib/commandinterpreter.php')
-rw-r--r--lib/commandinterpreter.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/commandinterpreter.php b/lib/commandinterpreter.php
index 665015afc..c2add7299 100644
--- a/lib/commandinterpreter.php
+++ b/lib/commandinterpreter.php
@@ -169,6 +169,19 @@ class CommandInterpreter
} else {
return new ReplyCommand($user, $other, $extra);
}
+ case 'repeat':
+ case 'rp':
+ case 'rt':
+ case 'rd':
+ if (!$arg) {
+ return null;
+ }
+ list($other, $extra) = $this->split_arg($arg);
+ if ($extra) {
+ return null;
+ } else {
+ return new RepeatCommand($user, $other);
+ }
case 'whois':
if (!$arg) {
return null;