Fix kicking with a reason in op.py

This commit is contained in:
Fletcher Boyd 2013-09-05 06:30:58 +08:00
parent e061427207
commit 9eeebe1a9d

View file

@ -114,7 +114,7 @@ def kick(inp, chan=None, conn=None, notice=None):
target = split[0]
if len(split) > 1:
reason = " ".join(split[1:])
out = "KICK {} {}: {}".format(channel, target, reason)
out = "KICK {} {} :{}".format(channel, target, reason)
else:
out = "KICK {} {}".format(channel, target)