3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 09:19:23 +01:00

ngircd: fix setting umodes

This commit is contained in:
James Lu 2017-07-06 20:19:34 -07:00
parent 73464e516f
commit b2b50371ab

View File

@ -162,7 +162,7 @@ class NgIRCdProtocol(IRCS2SProtocol):
self.send(msgprefix + modestr)
else:
joinedmodes = self.join_modes(modes)
self._send_with_prefix(numeric, 'MODE %s %s' % (target, joinedmodes))
self._send_with_prefix(source, 'MODE %s %s' % (self._expandPUID(target), joinedmodes))
def nick(self, source, newnick):
"""Changes the nick of a PyLink client."""