mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
One last fix to umode filtering.
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
This commit is contained in:
parent
d6336421e0
commit
4833976294
@ -935,7 +935,7 @@ class Irc(IrcCommandDispatcher):
|
|||||||
(addSub, umodes) = (umodes[0], umodes[1:])
|
(addSub, umodes) = (umodes[0], umodes[1:])
|
||||||
if supported:
|
if supported:
|
||||||
umodes = ''.join([m for m in umodes if m in supported])
|
umodes = ''.join([m for m in umodes if m in supported])
|
||||||
umodes = ''.join(addSub, umodes)
|
umodes = ''.join([addSub, umodes])
|
||||||
log.info('Sending user modes to %s: %s', self.network, umodes)
|
log.info('Sending user modes to %s: %s', self.network, umodes)
|
||||||
self.sendMsg(ircmsgs.mode(self.nick, umodes))
|
self.sendMsg(ircmsgs.mode(self.nick, umodes))
|
||||||
do377 = do422 = do376
|
do377 = do422 = do376
|
||||||
|
Loading…
Reference in New Issue
Block a user