From 9009304db07acbfa9e97a2acd8e9e80c4756bcc5 Mon Sep 17 00:00:00 2001 From: skizzerz Date: Wed, 22 Jun 2016 00:08:01 -0500 Subject: [PATCH] fix fwarn list --- src/wolfgame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wolfgame.py b/src/wolfgame.py index 46792af..f860bb4 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -8349,7 +8349,7 @@ def fwarn(cli, nick, chan, rest): if acc is None and hm is None: reply(cli, nick, chan, messages["fwarn_nick_invalid"]) return - warnings = db.list_warnings(acc, hm, list_all=list_all, skip=(page-1)*10, show=11) + warnings = db.list_warnings(acc, hm, expired=list_all, deleted=list_all, skip=(page-1)*10, show=11) points = db.get_warning_points(acc, hm) cli.notice(nick, messages["fwarn_list_header"].format(target, points)) else: