From 024906dbcdfd1e48898167695712a6c9e0fc7e9a Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Tue, 24 Jun 2014 12:21:31 +0200 Subject: Change allocation of InspIRCd::Users to be physically part of the object containing it using fakederef --- include/inspircd.h | 2 +- include/usermanager.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 -class CoreExport UserManager +class CoreExport UserManager : public fakederef { public: struct CloneCounts -- cgit v1.3.1-10-gc9f91