mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 21:19:31 +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
|
return
|
||||||
|
|
||||||
oldnick = self.irc.users[source].nick
|
oldnick = self.irc.users[source].nick
|
||||||
self.nick(source, args[0])
|
self.irc.users[source].nick = args[0]
|
||||||
|
|
||||||
return {'newnick': args[0], 'oldnick': oldnick}
|
return {'newnick': args[0], 'oldnick': oldnick}
|
||||||
|
|
||||||
def handle_part(self, source, command, args):
|
def handle_part(self, source, command, args):
|
||||||
|
Loading…
Reference in New Issue
Block a user