summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-06-24 12:21:31 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-06-24 12:21:31 +0200
commit024906dbcdfd1e48898167695712a6c9e0fc7e9a (patch)
treebac767b0209372b405b63a58368f9df327621f09 /include
parent86092ec5919a5b08391ea7291b9338b3745b6e0a (diff)
Change allocation of InspIRCd::Users to be physically part of the object containing it using fakederef
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h2
-rw-r--r--include/usermanager.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 3909b1328..0f6a411a3 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -397,7 +397,7 @@ class CoreExport InspIRCd
/** User manager. Various methods and data associated with users.
*/
- UserManager *Users;
+ UserManager Users;
/** Channel list, a hash_map containing all channels XXX move to channel manager class
*/
diff --git a/include/usermanager.h b/include/usermanager.h
index a419916f2..945e64439 100644
--- a/include/usermanager.h
+++ b/include/usermanager.h
@@ -21,7 +21,7 @@
#include <list>
-class CoreExport UserManager
+class CoreExport UserManager : public fakederef<UserManager>
{
public:
struct CloneCounts