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_disable.cpp | |
| parent | LogManager: remove fakederef. (diff) | |
ModeParser: remove fakederef.
Diffstat (limited to 'src/modules/m_disable.cpp')
| -rw-r--r-- | src/modules/m_disable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_disable.cpp b/src/modules/m_disable.cpp index 2310e7dfb..78f5673b3 100644 --- a/src/modules/m_disable.cpp +++ b/src/modules/m_disable.cpp @@ -53,7 +53,7 @@ class ModuleDisable : public Module chr, field.c_str(), tag->getTagLocation().c_str())); // Check that the mode actually exists. - ModeHandler* mh = ServerInstance->Modes->FindMode(chr, type); + ModeHandler* mh = ServerInstance->Modes.FindMode(chr, type); if (!chr) throw ModuleException(InspIRCd::Format("Non-existent mode '%c' was specified in <disabled:%s> at %s", chr, field.c_str(), tag->getTagLocation().c_str())); |
