This commit is contained in:
Nicolas Coevoet 2014-04-12 19:14:07 +02:00
commit c2305c0433

View File

@ -55,8 +55,6 @@ cache = utils.structures.CacheDict(4000)
def applymodes(channel, args=(), prefix='', msg=None): def applymodes(channel, args=(), prefix='', msg=None):
"""Returns a MODE that applies changes on channel.""" """Returns a MODE that applies changes on channel."""
if conf.supybot.protocols.irc.strictRfc():
assert isChannel(channel), repr(channel)
modes = args modes = args
if msg and not prefix: if msg and not prefix:
prefix = msg.prefix prefix = msg.prefix