diff options
author | Brion Vibber <brion@pobox.com> | 2010-02-24 15:48:27 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-02-24 15:48:27 -0800 |
commit | 3194a86caa02f5796f468a7d2ebc8e54139fb1cb (patch) | |
tree | 7e1047fd9ccc7da5cd078ddc7ca13147069881d6 /lib/commandinterpreter.php | |
parent | 59be4b8cae992476628b23c2976d335e4f704c89 (diff) | |
parent | f0d1d07b94fbd2fe0ecd1c2f18d831a177d11c5c (diff) |
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'lib/commandinterpreter.php')
-rw-r--r-- | lib/commandinterpreter.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/commandinterpreter.php b/lib/commandinterpreter.php index c2add7299..fbc6174bb 100644 --- a/lib/commandinterpreter.php +++ b/lib/commandinterpreter.php @@ -47,6 +47,17 @@ class CommandInterpreter } else { return new LoginCommand($user); } + case 'lose': + if ($arg) { + list($other, $extra) = $this->split_arg($arg); + if ($extra) { + return null; + } else { + return new LoseCommand($user, $other); + } + } else { + return null; + } case 'subscribers': if ($arg) { return null; |