diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-06-24 12:20:02 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-06-24 12:20:02 +0200 |
commit | 86092ec5919a5b08391ea7291b9338b3745b6e0a (patch) | |
tree | f665fa3fad5899ed1663d8f5604e09f71989559f /include | |
parent | a2860d06e429f35a4bacf4ea8a01eeeed1472285 (diff) |
Change allocation of InspIRCd::SNO to be physically part of the object containing it using fakederef
Diffstat (limited to 'include')
-rw-r--r-- | include/inspircd.h | 2 | ||||
-rw-r--r-- | include/snomasks.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index e63092f23..3909b1328 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -385,7 +385,7 @@ class CoreExport InspIRCd /** Snomask manager - handles routing of snomask messages * to opers. */ - SnomaskManager* SNO; + SnomaskManager SNO; /** Timer manager class, triggers Timer timer events */ diff --git a/include/snomasks.h b/include/snomasks.h index df4faab47..bd08773e9 100644 --- a/include/snomasks.h +++ b/include/snomasks.h @@ -72,7 +72,7 @@ class Snomask * Modules and the core can enable and disable snomask characters. If they do, * then sending snomasks using these characters becomes possible. */ -class CoreExport SnomaskManager +class CoreExport SnomaskManager : public fakederef<SnomaskManager> { Snomask masks[26]; |