Fix lowercasing issue in !fstasis, fix "host has access" message in !fflags
This commit is contained in:
parent
ae5b39c36f
commit
017a98608c
@ -71,6 +71,7 @@ def parse_warning_target(target, lower=False):
|
||||
tacc = irc_lower(tacc)
|
||||
ident = irc_lower(ident)
|
||||
host = host.lower()
|
||||
target = irc_lower(target)
|
||||
thm = target + "!" + ident + "@" + host
|
||||
elif "@" in target:
|
||||
tacc = None
|
||||
|
@ -6479,7 +6479,7 @@ def fflags(cli, nick, chan, rest):
|
||||
if not var.FLAGS[hm]:
|
||||
msg = messages["no_access_host"].format(hm)
|
||||
else:
|
||||
msg = messages["access_host"].format(acc, "".join(sorted(var.FLAGS[hm])))
|
||||
msg = messages["access_host"].format(hm, "".join(sorted(var.FLAGS[hm])))
|
||||
reply(cli, nick, chan, msg)
|
||||
else:
|
||||
acc, hm = parse_warning_target(params[0])
|
||||
|
Loading…
x
Reference in New Issue
Block a user