diff options
| author | 2019-02-07 12:14:37 +0000 | |
|---|---|---|
| committer | 2019-02-07 12:14:37 +0000 | |
| commit | 7ba7290bf07b4fb4d25566ee042fd43f9e129617 (patch) | |
| tree | c7a784c828a9be68f963776e5cdcdd1f088f4790 /src/modules/m_customprefix.cpp | |
| parent | LogManager: remove fakederef. (diff) | |
| download | inspircd++-7ba7290bf07b4fb4d25566ee042fd43f9e129617.tar.gz inspircd++-7ba7290bf07b4fb4d25566ee042fd43f9e129617.tar.bz2 inspircd++-7ba7290bf07b4fb4d25566ee042fd43f9e129617.zip | |
ModeParser: 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 8a986c6e7..a092372b2 100644 --- a/src/modules/m_customprefix.cpp +++ b/src/modules/m_customprefix.cpp @@ -56,7 +56,7 @@ class ModuleCustomPrefix : public Module if (tag->getBool("change")) { - ModeHandler* mh = ServerInstance->Modes->FindMode(name, MODETYPE_CHANNEL); + ModeHandler* mh = ServerInstance->Modes.FindMode(name, MODETYPE_CHANNEL); if (!mh) throw ModuleException("<customprefix:change> specified for a non-existent mode at " + tag->getTagLocation()); |
