diff options
| author | 2019-02-07 12:16:33 +0000 | |
|---|---|---|
| committer | 2019-02-07 12:16:33 +0000 | |
| commit | 641b2d07ab6868a9fa6726c1bc36cde80005e155 (patch) | |
| tree | 00f6f16cef0464477d4a890b3c21793557c2c537 /src/modules/m_customprefix.cpp | |
| parent | ModeParser: remove fakederef. (diff) | |
| download | inspircd++-641b2d07ab6868a9fa6726c1bc36cde80005e155.tar.gz inspircd++-641b2d07ab6868a9fa6726c1bc36cde80005e155.tar.bz2 inspircd++-641b2d07ab6868a9fa6726c1bc36cde80005e155.zip | |
ModuleManager: remove fakederef.
Diffstat (limited to 'src/modules/m_customprefix.cpp')
| -rw-r--r-- | src/modules/m_customprefix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_customprefix.cpp b/src/modules/m_customprefix.cpp index a092372b2..29e64bbb1 100644 --- a/src/modules/m_customprefix.cpp +++ b/src/modules/m_customprefix.cpp @@ -87,7 +87,7 @@ class ModuleCustomPrefix : public Module { CustomPrefixMode* mh = new CustomPrefixMode(this, name, letter[0], prefix[0], tag); modes.push_back(mh); - ServerInstance->Modules->AddService(*mh); + ServerInstance->Modules.AddService(*mh); } catch (ModuleException& e) { |
