Move share command interpretation to SharePlugin
Some fixes to the SharePlugin.php file came along
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user