Merge branch 'master' into devel

Conflicts:

	classes/CommandInterpreter.php
	lib/twitter.php
	lib/util.php
This commit is contained in:
Evan Prodromou 2009-01-06 17:09:39 -05:00
commit 02877224b2

View File

@ -23,7 +23,7 @@ require_once(INSTALLDIR.'/classes/Command.php');
class CommandInterpreter class CommandInterpreter
{ {
function handle_command($user, $text) function handle_command($user, $text)
{ {
# XXX: localise # XXX: localise
@ -33,9 +33,9 @@ class CommandInterpreter
# We try to support all the same commands as Twitter, see # We try to support all the same commands as Twitter, see
# http://getsatisfaction.com/twitter/topics/what_are_the_twitter_commands # http://getsatisfaction.com/twitter/topics/what_are_the_twitter_commands
# There are a few compatibility commands from earlier versions of # There are a few compatibility commands from earlier versions of
# Laconica # Laconica
switch(strtolower($cmd)) { switch(strtolower($cmd)) {
case 'help': case 'help':
if ($arg) { if ($arg) {
@ -105,6 +105,7 @@ class CommandInterpreter
return new GetCommand($user, $other); return new GetCommand($user, $other);
} }
case 'd': case 'd':
case 'dm':
if (!$arg) { if (!$arg) {
return null; return null;
} }