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:
James McCoy 2011-11-13 15:10:16 -05:00 committed by Daniel Folkinshteyn
parent 2fb9ac2024
commit d8ead9bc29

View File

@ -936,7 +936,7 @@ class Irc(IrcCommandDispatcher):
(addSub, umodes) = (umodes[0], umodes[1:])
if 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)
self.sendMsg(ircmsgs.mode(self.nick, umodes))
do377 = do422 = do376