Fix some embarassing typos
This commit is contained in:
parent
adea98e3ed
commit
2f62c4a867
@ -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):
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user