summaryrefslogtreecommitdiff
path: root/modules/commands/os_akill.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-08-13 23:05:30 -0400
committerAdam <Adam@anope.org>2011-08-13 23:05:30 -0400
commit83a579fb9a962355ebf315b624d2ba1c45b05aff (patch)
tree764f4326746b42ee790f3e0f21c5448199b68c14 /modules/commands/os_akill.cpp
parent244f87917c3cf9f3fee2a3e04f7c1a358e2f36fb (diff)
Fixed number list position when requesting custom lists from akill
Diffstat (limited to 'modules/commands/os_akill.cpp')
-rw-r--r--modules/commands/os_akill.cpp4
1 files 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)