X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fcommandinterpreter.php;h=fbc6174bbfab1b95a2d9573df2043e3688cf9a0f;hb=c89ed16d24d56879bf40a70d500509d1d42a4532;hp=c2add7299e7330287303374944d912caa753dc09;hpb=bed4e1c9e96b2bf2208f987479d15e3f624aac6a;p=quix0rs-gnu-social.git diff --git a/lib/commandinterpreter.php b/lib/commandinterpreter.php index c2add7299e..fbc6174bbf 100644 --- a/lib/commandinterpreter.php +++ b/lib/commandinterpreter.php @@ -47,6 +47,17 @@ class CommandInterpreter } else { return new LoginCommand($user); } + case 'lose': + if ($arg) { + list($other, $extra) = $this->split_arg($arg); + if ($extra) { + return null; + } else { + return new LoseCommand($user, $other); + } + } else { + return null; + } case 'subscribers': if ($arg) { return null;