Added 'login' command that gives you a link that can be used to login to the website

This commit is contained in:
Craig Andrews
2009-11-02 18:40:18 -05:00
parent a2b8303925
commit b9d40f723b
10 changed files with 168 additions and 13 deletions

View File

@@ -41,6 +41,12 @@ class CommandInterpreter
return null;
}
return new HelpCommand($user);
case 'login':
if ($arg) {
return null;
} else {
return new LoginCommand($user);
}
case 'on':
if ($arg) {
list($other, $extra) = $this->split_arg($arg);