I cant be bothered explaining this - it fixes shit.
This commit is contained in:
parent
56a6204dfb
commit
de3ab7cfab
1 changed files with 2 additions and 1 deletions
|
@ -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 """
|
||||
|
|
Reference in a new issue