Lowercase account in !fflags with single argument

This commit is contained in:
nyuszika7h 2016-09-13 12:42:28 +02:00
parent 0a763b64e5
commit 9ea822d7d8

View File

@ -6596,7 +6596,7 @@ def fflags(cli, nick, chan, rest):
reply(cli, nick, chan, break_long_message(parts, ", "))
elif len(params) == 1:
# display access for the given user
acc, hm = parse_warning_target(params[0])
acc, hm = parse_warning_target(params[0], lower=True)
if acc is not None and acc != "*":
if not var.FLAGS_ACCS[acc]:
msg = messages["no_access_account"].format(acc)