summaryrefslogtreecommitdiff
path: root/include/channels.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/channels.h')
-rw-r--r--include/channels.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/channels.h b/include/channels.h
index 9b74c546d..3f5c69dff 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -105,6 +105,11 @@ class chanrec : public Extensible
/** Count of users on the channel used for fast user counting
*/
long users;
+
+ /** User list (casted to char*'s to stop forward declaration stuff)
+ * (chicken and egg scenario!)
+ */
+ std::vector<char*> internal_userlist;
/** Channel topic.
* If this is an empty string, no channel topic is set.
@@ -186,6 +191,9 @@ class chanrec : public Extensible
void DecUserCounter();
long GetUserCounter();
+ void AddUser(char* castuser);
+ void DelUser(char* castuser);
+ std::vector<char*> *GetUsers();
/** Creates a channel record and initialises it with default values
*/