fix previous commit

This commit is contained in:
Nicolas Coevoet 2014-04-12 19:11:03 +02:00
parent 28608be5da
commit 0707bf38e4

View File

@ -53,7 +53,7 @@ ircutils._hostmaskPatternEqualCache = utils.structures.CacheDict(4000)
cache = utils.structures.CacheDict(4000) cache = utils.structures.CacheDict(4000)
def modes(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(): if conf.supybot.protocols.irc.strictRfc():
assert isChannel(channel), repr(channel) assert isChannel(channel), repr(channel)