diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-01-24 13:08:13 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-01-24 13:08:13 +0100 |
commit | f1f8173bb5ca5f5ce01ad92d0ccd309f232fc138 (patch) | |
tree | f9dc48385b78066d8da9fba546f979d6686f4be3 /include/users.h | |
parent | 932e8d13f81c7c94a89dc3702f6d45bc185f5dcf (diff) |
Convert LocalUserList to an intrusively linked list
Diffstat (limited to 'include/users.h')
-rw-r--r-- | include/users.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/users.h b/include/users.h index f8bfb5a6e..db2d53878 100644 --- a/include/users.h +++ b/include/users.h @@ -655,7 +655,7 @@ class CoreExport UserIOHandler : public StreamSocket typedef unsigned int already_sent_t; -class CoreExport LocalUser : public User, public InviteBase +class CoreExport LocalUser : public User, public InviteBase, public intrusive_list_node<LocalUser> { public: LocalUser(int fd, irc::sockets::sockaddrs* client, irc::sockets::sockaddrs* server); @@ -663,10 +663,6 @@ class CoreExport LocalUser : public User, public InviteBase UserIOHandler eh; - /** Position in UserManager::local_users - */ - LocalUserList::iterator localuseriter; - /** Stats counter for bytes inbound */ unsigned int bytes_in; |