diff --git a/core/irc.py b/core/irc.py index 507d99e..33bc234 100755 --- a/core/irc.py +++ b/core/irc.py @@ -172,7 +172,7 @@ class IRC(object): if paramlist[-1].startswith(':'): paramlist[-1] = paramlist[-1][1:] lastparam = paramlist[-1] - # put the parsed message in the response queue + # put the parsed message in the response queue self.out.put([msg, prefix, command, params, nick, user, host, mask, paramlist, lastparam]) # if the server pings us, pong them back @@ -185,6 +185,7 @@ class IRC(object): def set_nick(self, nick): self.cmd("NICK", [nick]) + self.nick = nick def join(self, channel): """ makes the bot join a channel """