Skip to content

Commit

Permalink
Merge pull request #20 from wolfy1339/patch-1
Browse files Browse the repository at this point in the history
Fix irc.kick()
  • Loading branch information
itslukej authored Sep 30, 2016
2 parents a56fa8b + c3cb794 commit 2d35f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zirc/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def action(self, channel, message):

def kick(self,channel, user, message):
user = user.replace(" ","").replace(":","")
self.send("KICK {0} {1} :{2}".format(user, channel, message))
self.send("KICK {0} {1} :{2}".format(channel, user, message))

def op(self, channel, nick):
self.send("MODE {0} +o {1}".format(channel, nick))
Expand Down

0 comments on commit 2d35f89

Please sign in to comment.