summaryrefslogtreecommitdiff
path: root/lib/commandinterpreter.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-12-08 14:43:21 -0500
committerEvan Prodromou <evan@status.net>2009-12-08 14:43:21 -0500
commit78fc9483d4d1fde4561905edf6594b86c4dc374e (patch)
tree7172cabba4c36bb3a7bd00a78ab09f1791a9a60c /lib/commandinterpreter.php
parent75b11527c7efb1d3d9c7d53b99d80480ce06a9f5 (diff)
parent3536f01258dc43bee764c98fbdda5a6f1df7bcb2 (diff)
Merge branch '0.9.x' into testing
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 25f2e4b3e..665015afc 100644
--- a/lib/commandinterpreter.php
+++ b/lib/commandinterpreter.php
@@ -41,6 +41,12 @@ class CommandInterpreter
return null;
}
return new HelpCommand($user);
+ case 'login':
+ if ($arg) {
+ return null;
+ } else {
+ return new LoginCommand($user);
+ }
case 'subscribers':
if ($arg) {
return null;