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:
parent
73464e516f
commit
b2b50371ab
@ -162,7 +162,7 @@ class NgIRCdProtocol(IRCS2SProtocol):
|
|||||||
self.send(msgprefix + modestr)
|
self.send(msgprefix + modestr)
|
||||||
else:
|
else:
|
||||||
joinedmodes = self.join_modes(modes)
|
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):
|
def nick(self, source, newnick):
|
||||||
"""Changes the nick of a PyLink client."""
|
"""Changes the nick of a PyLink client."""
|
||||||
|
Loading…
Reference in New Issue
Block a user