1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 10:26:38 +02:00

Fixed number list position when requesting custom lists from akill and sqline

This commit is contained in:
Adam
2011-08-13 21:59:12 -04:00
parent 949f86908a
commit 389341b862
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -87,7 +87,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)
@@ -119,7 +119,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)
+1 -1
View File
@@ -116,7 +116,7 @@ class SQLineViewCallback : public SQLineListCallback
source.Reply(_("Current SQLINE list:"));
}
DoList(source, x, Number);
DoList(source, x, Number - 1);
}
static void DoList(CommandSource &source, XLine *x, unsigned Number)