Skip to content

Commit 0dfaa2e

Browse files
authored
Merge pull request CloudBotIRC#105 from MuffinMedic/admin_channel
Fix kick command sent if reason given
2 parents ee0e498 + e8f3d86 commit 0dfaa2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/admin_channel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def kick(text, chan, conn, notice, nick, admin_log):
114114
target = split[1]
115115
if len(split) > 2:
116116
reason = " ".join(split[2:])
117-
out = "KICK {} {}: {}".format(channel, target, reason)
117+
out = "KICK {} {} :{}".format(channel, target, reason)
118118
else:
119119
out = "KICK {} {}".format(channel, target)
120120
else:

0 commit comments

Comments
 (0)