mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 11:42:51 +01:00
clientbot: decouple inbound and outbound nick changes
This commit is contained in:
parent
9bda4094e4
commit
ae63f72cf9
@ -579,7 +579,8 @@ class ClientbotWrapperProtocol(Protocol):
|
||||
return
|
||||
|
||||
oldnick = self.irc.users[source].nick
|
||||
self.nick(source, args[0])
|
||||
self.irc.users[source].nick = args[0]
|
||||
|
||||
return {'newnick': args[0], 'oldnick': oldnick}
|
||||
|
||||
def handle_part(self, source, command, args):
|
||||
|
Loading…
Reference in New Issue
Block a user