I cant be bothered explaining this - it fixes shit.

This commit is contained in:
Luke Rogers 2012-10-12 21:02:22 +13:00
parent 56a6204dfb
commit de3ab7cfab

View file

@ -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 """