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

Made NumberList take an arg to determin if it should pass numbers in descending order, fixes listing specific ranges being returned in descending order

This commit is contained in:
Adam
2010-05-25 13:50:17 -05:00
committed by Adam
parent 4a2b9ebcf3
commit f0a44ba894
14 changed files with 49 additions and 35 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ class AccessListCallback : public NumberList
ChannelInfo *ci;
bool SentHeader;
public:
AccessListCallback(User *_u, ChannelInfo *_ci, const std::string &numlist) : NumberList(numlist), u(_u), ci(_ci), SentHeader(false)
AccessListCallback(User *_u, ChannelInfo *_ci, const std::string &numlist) : NumberList(numlist, false), u(_u), ci(_ci), SentHeader(false)
{
}
@@ -114,7 +114,7 @@ class AccessDelCallback : public NumberList
std::string Nicks;
bool Denied;
public:
AccessDelCallback(User *_u, ChannelInfo *_ci, const std::string &numlist) : NumberList(numlist), u(_u), ci(_ci), Deleted(0), Denied(false)
AccessDelCallback(User *_u, ChannelInfo *_ci, const std::string &numlist) : NumberList(numlist, true), u(_u), ci(_ci), Deleted(0), Denied(false)
{
}