1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 14:43:13 +02:00

Fixed number list position when requesting custom lists from akill

This commit is contained in:
Adam
2011-08-13 23:05:30 -04:00
parent 244f87917c
commit 83a579fb9a
+2 -2
View File
@@ -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)