Support for more than one argument.
This commit is contained in:
@@ -28,11 +28,6 @@ public class DevRequestHandler {
|
|||||||
if (MagicBot.isAdminEvent(event) == false)
|
if (MagicBot.isAdminEvent(event) == false)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// No command supplied?
|
|
||||||
|
|
||||||
if (args.length != 1)
|
|
||||||
return;
|
|
||||||
|
|
||||||
serverCommand = args[0].toLowerCase().trim();
|
serverCommand = args[0].toLowerCase().trim();
|
||||||
|
|
||||||
if (args.length == 2)
|
if (args.length == 2)
|
||||||
|
|||||||
Reference in New Issue
Block a user