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,6 +870,7 @@ 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():
for nick in nicks:
assert isNick(nick), repr(nick) assert isNick(nick), repr(nick)
assert subcommand in '+-CLS' assert subcommand in '+-CLS'
if subcommand in 'CLS': if subcommand in 'CLS':