Fix the all and allc commands so they work with the new data format
This commit is contained in:
@@ -9,7 +9,7 @@ class CmdCommand:
|
||||
if authed:
|
||||
if length > 4:
|
||||
if not spl[1].isdigit():
|
||||
failure("Must be integer, not %s" % spl[1])
|
||||
failure("Must be a number, not %s" % spl[1])
|
||||
return
|
||||
commands = {spl[3]: [" ".join(spl[4:])]}
|
||||
success("Sending commands to relay %s as user %s" % (spl[2], spl[3]))
|
||||
|
||||
Reference in New Issue
Block a user