mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 21:29:24 +01:00
One last fix to umode filtering.
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
(cherry picked from commit 4833976294
)
Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
This commit is contained in:
parent
2fb9ac2024
commit
d8ead9bc29
@ -936,7 +936,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