Merge pull request #139 from thenoodle68/develop
Fix kicking with a reason in op.py
This commit is contained in:
commit
8b23ba9c12
1 changed files with 1 additions and 1 deletions
|
@ -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