diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-12-05 21:03:27 -0500 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-12-05 21:05:33 -0500 |
commit | 75cac0fd6b94f77ec8ff32ebc89ec513ee102831 (patch) | |
tree | b84a71e22ee7d0437895cf8676730b42eb0c02ff /lib/commandinterpreter.php | |
parent | cb2966a64c618a90b84c7aac63e5193c054be3aa (diff) |
Added 'login' command that gives you a link that can be used to login to the website
Diffstat (limited to 'lib/commandinterpreter.php')
-rw-r--r-- | lib/commandinterpreter.php | 6 |
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; |