3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-25 04:02:45 +01:00

nefarious: fix typo in NICK change handling

This commit is contained in:
James Lu 2016-04-17 22:23:11 -07:00
parent 9d28be1dc8
commit 38441f0302

View File

@ -762,8 +762,8 @@ class P10Protocol(Protocol):
else:
# <- ABAAA N GL_ 1460753763
oldnick = self.irc.users[numeric].nick
newnick = self.irc.users[numeric].nick = args[0]
oldnick = self.irc.users[source].nick
newnick = self.irc.users[source].nick = args[0]
return {'newnick': newnick, 'oldnick': oldnick, 'ts': int(args[1])}
def handle_ping(self, source, command, args):