Fix some embarassing typos

This commit is contained in:
skizzerz 2016-06-13 16:40:57 -05:00
parent adea98e3ed
commit 2f62c4a867
2 changed files with 2 additions and 2 deletions

View File

@ -375,7 +375,7 @@ def is_admin(nick, ident=None, host=None, acc=None):
if not acc:
acc = USERS[nick]["account"]
hostmask = nick + "!" + ident + "@" + host
flags = var.FLAGS[hostmask] + var.FLAGS_ACCS[acc]
flags = FLAGS[hostmask] + FLAGS_ACCS[acc]
return "F" in flags
def irc_lower(nick):

View File

@ -8575,7 +8575,7 @@ def fwarn(cli, nick, chan, rest):
reply(cli, nick, chan, messages["fwarn_expiry_invalid_suffix"])
return
warn_id = add_warning(target, amount, nick, reason, notes, expires, need_ack, sanctions)
warn_id = add_warning(target, points, nick, reason, notes, expires, need_ack, sanctions)
if warn_id is False:
reply(cli, nick, chan, messages["fwarn_cannot_add"])
else: