mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 13:09:23 +01:00
clientbot: fix wrong variable
This commit is contained in:
parent
dac043a1b6
commit
09ce38a53d
@ -121,7 +121,7 @@ class ClientbotWrapperProtocol(Protocol):
|
||||
|
||||
def nick(self, source, newnick):
|
||||
"""STUB: Sends NICK changes."""
|
||||
if source == irc.pseudoclient.uid:
|
||||
if source == self.irc.pseudoclient.uid:
|
||||
self.irc.send('NICK :%s' % (channel, self._expandPUID(target), reason))
|
||||
self.irc.users[source].nick = newnick
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user