diff options
| author | 2014-06-24 12:10:59 +0200 | |
|---|---|---|
| committer | 2014-06-24 12:10:59 +0200 | |
| commit | 53f72298692a4b76d49327c8d696c8c2927c2a68 (patch) | |
| tree | 58bade665acc624803997eafcb1c28f828c4be2d /src/mode.cpp | |
| parent | Add the fakederef class (diff) | |
| download | inspircd++-53f72298692a4b76d49327c8d696c8c2927c2a68.tar.gz inspircd++-53f72298692a4b76d49327c8d696c8c2927c2a68.tar.bz2 inspircd++-53f72298692a4b76d49327c8d696c8c2927c2a68.zip | |
Change allocation of InspIRCd::Modes to be physically part of the object containing it using fakederef
Diffstat (limited to 'src/mode.cpp')
| -rw-r--r-- | src/mode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index 9d24160f6..3d2b8e5c4 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -35,7 +35,7 @@ ModeHandler::ModeHandler(Module* Creator, const std::string& Name, char modelett CullResult ModeHandler::cull() { - if (ServerInstance->Modes) + if (ServerInstance) ServerInstance->Modes->DelMode(this); return classbase::cull(); } |
