From de3ab7cfab5bb516ff1dccb29c796ffcc55e8533 Mon Sep 17 00:00:00 2001 From: Luke Rogers Date: Fri, 12 Oct 2012 21:02:22 +1300 Subject: [PATCH] I cant be bothered explaining this - it fixes shit. --- core/irc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 """