diff options
-rw-r--r-- | include/channels.h | 2 | ||||
-rw-r--r-- | include/inspircd.h | 1 | ||||
-rw-r--r-- | include/u_listmode.h | 4 |
3 files changed, 4 insertions, 3 deletions
diff --git a/include/channels.h b/include/channels.h index 9c231008a..748f6c24b 100644 --- a/include/channels.h +++ b/include/channels.h @@ -58,7 +58,7 @@ class BanItem : public HostItem /** Holds a complete ban list */ -typedef std::vector<BanItem> BanList; +typedef std::list<BanItem> BanList; /** A list of users on a channel */ diff --git a/include/inspircd.h b/include/inspircd.h index 85c2f62e6..b55401e43 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -42,6 +42,7 @@ #include <sstream> #include <string> #include <vector> +#include <list> #include <deque> #include <map> #include <bitset> diff --git a/include/u_listmode.h b/include/u_listmode.h index 6e654f64f..738eddeb0 100644 --- a/include/u_listmode.h +++ b/include/u_listmode.h @@ -44,10 +44,10 @@ public: /** Items stored in the channel's list */ -typedef std::vector<ListItem> modelist; +typedef std::list<ListItem> modelist; /** Max items per channel by name */ -typedef std::vector<ListLimit> limitlist; +typedef std::list<ListLimit> limitlist; /** A request used to check if a user is on a channel's list or not */ |