diff --git a/src/warnings.py b/src/warnings.py index 0d822b3..a70e4de 100644 --- a/src/warnings.py +++ b/src/warnings.py @@ -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 diff --git a/src/wolfgame.py b/src/wolfgame.py index 5d02cd5..81d6504 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -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])