summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-07-14 16:24:59 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-07-14 16:24:59 +0200
commit46c97a8db770d637cf8e11fa8b178a32c60cdada (patch)
tree4022e05800efba2dd0a31b6363eed0f0bf065671 /include/users.h
parent63601e946e77f11835cf9cbb87c55fe41e0b12bb (diff)
Rename UserChanList to User::ChanList, remove UCListIter
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/users.h b/include/users.h
index 6408bc45f..8c89a0b16 100644
--- a/include/users.h
+++ b/include/users.h
@@ -248,6 +248,9 @@ class CoreExport User : public Extensible
std::bitset<ModeParser::MODEID_MAX> modes;
public:
+ /** List of Memberships for this user
+ */
+ typedef intrusive_list<Membership> ChanList;
/** Hostname of connection.
* This should be valid as per RFC1035.
@@ -302,7 +305,7 @@ class CoreExport User : public Extensible
/** Channels this user is on
*/
- UserChanList chans;
+ ChanList chans;
/** The server the user is connected to.
*/