mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-26 04:32:51 +01:00
nefarious: fix typo in NICK change handling
This commit is contained in:
parent
9d28be1dc8
commit
38441f0302
@ -762,8 +762,8 @@ class P10Protocol(Protocol):
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
# <- ABAAA N GL_ 1460753763
|
# <- ABAAA N GL_ 1460753763
|
||||||
oldnick = self.irc.users[numeric].nick
|
oldnick = self.irc.users[source].nick
|
||||||
newnick = self.irc.users[numeric].nick = args[0]
|
newnick = self.irc.users[source].nick = args[0]
|
||||||
return {'newnick': newnick, 'oldnick': oldnick, 'ts': int(args[1])}
|
return {'newnick': newnick, 'oldnick': oldnick, 'ts': int(args[1])}
|
||||||
|
|
||||||
def handle_ping(self, source, command, args):
|
def handle_ping(self, source, command, args):
|
||||||
|
Loading…
Reference in New Issue
Block a user