Fix kicking with a reason in op.py
This commit is contained in:
parent
e061427207
commit
9eeebe1a9d
|
@ -114,7 +114,7 @@ def kick(inp, chan=None, conn=None, notice=None):
|
||||||
target = split[0]
|
target = split[0]
|
||||||
if len(split) > 1:
|
if len(split) > 1:
|
||||||
reason = " ".join(split[1:])
|
reason = " ".join(split[1:])
|
||||||
out = "KICK {} {}: {}".format(channel, target, reason)
|
out = "KICK {} {} :{}".format(channel, target, reason)
|
||||||
else:
|
else:
|
||||||
out = "KICK {} {}".format(channel, target)
|
out = "KICK {} {}".format(channel, target)
|
||||||
|
|
||||||
|
|
Reference in a new issue