Fix commit b23480b9. Closes GH-267.

This commit is contained in:
Valentin Lorentz 2011-11-11 23:50:55 +01:00
parent 348d1bd99c
commit efd158da58

View File

@ -965,7 +965,7 @@ class Irc(IrcCommandDispatcher):
# Let's reset nicks in case we had to use a weird one.
self.alternateNicks = conf.supybot.nick.alternates()[:]
umodes = conf.supybot.protocols.irc.umodes()
supported = self.supported.get('umodes')
supported = self.state.supported.get('umodes')
if umodes:
addSub = '+'
if umodes[0] in '+-':