[Server] Fix when calling !server without args

This commit is contained in:
Sfan5 2013-05-01 20:23:20 +02:00
parent 38a6619392
commit 5221f6620b

View File

@ -181,8 +181,8 @@ def server(phenny, input):
arg = input.group(2)
if not arg:
choicefunc = by_random
carg = None
cfuncs = [by_random]
cargs = [None]
else:
arg = arg.split(" ")
cfuncs = []