From 83a579fb9a962355ebf315b624d2ba1c45b05aff Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 13 Aug 2011 23:05:30 -0400 Subject: [PATCH] Fixed number list position when requesting custom lists from akill --- modules/commands/os_akill.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/commands/os_akill.cpp b/modules/commands/os_akill.cpp index 05602a746..ab35fee1e 100644 --- a/modules/commands/os_akill.cpp +++ b/modules/commands/os_akill.cpp @@ -89,7 +89,7 @@ class AkillListCallback : public NumberList " Num Mask Reason")); } - DoList(source, x, Number); + DoList(source, x, Number - 1); } static void DoList(CommandSource &source, XLine *x, unsigned Number) @@ -121,7 +121,7 @@ class AkillViewCallback : public AkillListCallback source.Reply(_("Current AKILL list:")); } - DoList(source, x, Number); + DoList(source, x, Number - 1); } static void DoList(CommandSource &source, XLine *x, unsigned Number)