summaryrefslogtreecommitdiff
path: root/include/channels.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/channels.h')
-rw-r--r--include/channels.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/channels.h b/include/channels.h
index 7df2d665e..7771c292d 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -84,15 +84,15 @@ class ModeParameter : public classbase
/** Holds a complete ban list
*/
-typedef std::vector<BanItem> BanList;
+typedef std::vector<BanItem, __single_client_alloc> BanList;
/** Holds a complete exempt list
*/
-typedef std::vector<ExemptItem> ExemptList;
+typedef std::vector<ExemptItem, __single_client_alloc> ExemptList;
/** Holds a complete invite list
*/
-typedef std::vector<InviteItem> InviteList;
+typedef std::vector<InviteItem, __single_client_alloc> InviteList;
/** Holds all relevent information for a channel.
* This class represents a channel, and contains its name, modes, time created, topic, topic set time,
@@ -112,7 +112,7 @@ class chanrec : public Extensible
/** User list (casted to char*'s to stop forward declaration stuff)
* (chicken and egg scenario!)
*/
- std::vector<char*> internal_userlist;
+ std::vector<char*, __single_client_alloc> internal_userlist;
/** Channel topic.
* If this is an empty string, no channel topic is set.
@@ -196,7 +196,7 @@ class chanrec : public Extensible
* The resulting pointer to the vector should be considered
* readonly and only modified via AddUser and DelUser.
*/
- std::vector<char*> *GetUsers();
+ std::vector<char*, __single_client_alloc> *GetUsers();
/** Creates a channel record and initialises it with default values
*/