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:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user