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

nefarious: fix a typo causing crash on user mode change

This commit is contained in:
James Lu 2017-02-17 22:26:19 -08:00
parent 75158c47e2
commit 3e4a980ea6

View File

@ -433,7 +433,7 @@ class P10Protocol(IRCS2SProtocol):
for wrapped_modes in self.irc.wrapModes(modes[:12], bufsize): for wrapped_modes in self.irc.wrapModes(modes[:12], bufsize):
self._send(numeric, 'M %s %s %s' % (real_target, wrapped_modes, ts)) self._send(numeric, 'M %s %s %s' % (real_target, wrapped_modes, ts))
else: else:
self._send(numeric, 'M %s %s%s' % (real_target, joinedmodes)) self._send(numeric, 'M %s %s' % (real_target, joinedmodes))
modes = modes[12:] modes = modes[12:]
def nick(self, numeric, newnick): def nick(self, numeric, newnick):