Fix commit b23480b9 again.

This commit is contained in:
Valentin Lorentz 2011-11-12 00:39:08 +01:00
parent efd158da58
commit b5187ea31d

View File

@ -972,7 +972,7 @@ class Irc(IrcCommandDispatcher):
(addSub, umodes) = (umodes[0], umodes[1:]) (addSub, umodes) = (umodes[0], umodes[1:])
if supported: if supported:
umodes = filter(lambda m: m in supported, umodes) umodes = filter(lambda m: m in supported, umodes)
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