Move share command interpretation to SharePlugin

Some fixes to the SharePlugin.php file came along
This commit is contained in:
Mikael Nordfeldth
2015-03-12 15:58:57 +01:00
parent c85e78ac3c
commit d24c4f349f
2 changed files with 6 additions and 87 deletions

View File

@@ -192,21 +192,6 @@ class CommandInterpreter
$result = new ReplyCommand($user, $other, $extra);
}
break;
case 'repeat':
case 'rp':
case 'rt':
case 'rd':
if (!$arg) {
$result = null;
} else {
list($other, $extra) = self::split_arg($arg);
if ($extra) {
$result = null;
} else {
$result = new RepeatCommand($user, $other);
}
}
break;
case 'whois':
if (!$arg) {
$result = null;