fixed a bug of stupidity
This commit is contained in:
parent
638b93e3b3
commit
d4b3999316
@ -1968,7 +1968,7 @@ def coin(cli, nick, chan, rest):
|
|||||||
if botconfig.DEBUG_MODE:
|
if botconfig.DEBUG_MODE:
|
||||||
|
|
||||||
@cmd("set", admin_only=True)
|
@cmd("set", admin_only=True)
|
||||||
def set(cli, nick, chan, rest):
|
def set_setting(cli, nick, chan, rest):
|
||||||
rest = re.split(" +",rest, 1)
|
rest = re.split(" +",rest, 1)
|
||||||
if len(rest) != 2 or not rest[0] or not rest[1]:
|
if len(rest) != 2 or not rest[0] or not rest[1]:
|
||||||
cli.msg(chan, "Invalid syntax.")
|
cli.msg(chan, "Invalid syntax.")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user