summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/channels.h3
-rw-r--r--include/users.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/include/channels.h b/include/channels.h
index c7a0a8777..e14c81f27 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -213,8 +213,9 @@ class chanrec : public Extensible
/** Delete a user pointer to the internal reference list
* @param user The user to delete
+ * @return number of users left on the channel
*/
- void DelUser(userrec* user);
+ unsigned long DelUser(userrec* user);
void DelOppedUser(userrec* user);
void DelHalfoppedUser(userrec* user);
void DelVoicedUser(userrec* user);
diff --git a/include/users.h b/include/users.h
index 71563abfa..294bc1e1f 100644
--- a/include/users.h
+++ b/include/users.h
@@ -151,7 +151,7 @@ class userrec : public connection
*/
char modes[54];
- std::vector<ucrec> chans;
+ std::vector<ucrec*> chans;
/** The server the user is connected to.
*/