mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-24 03:29:28 +01:00
nefarious: fix a typo causing crash on user mode change
This commit is contained in:
parent
75158c47e2
commit
3e4a980ea6
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user