Fix variable name.

This commit is contained in:
Valentin Lorentz 2016-01-09 10:10:03 +00:00
parent 4576874128
commit d2fe7d901f

View File

@ -870,7 +870,8 @@ def ison(nick, prefix='', msg=None):
def monitor(subcommand, nicks=None, prefix='', msg=None): def monitor(subcommand, nicks=None, prefix='', msg=None):
if conf.supybot.protocols.irc.strictRfc(): if conf.supybot.protocols.irc.strictRfc():
assert isNick(nick), repr(nick) for nick in nicks:
assert isNick(nick), repr(nick)
assert subcommand in '+-CLS' assert subcommand in '+-CLS'
if subcommand in 'CLS': if subcommand in 'CLS':
assert nicks is None assert nicks is None