3
0
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:
James Lu 2016-07-21 00:11:15 -07:00
parent dac043a1b6
commit 09ce38a53d

View File

@ -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