From 7ba7290bf07b4fb4d25566ee042fd43f9e129617 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 7 Feb 2019 12:14:37 +0000 Subject: ModeParser: remove fakederef. --- src/modules/m_disable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_disable.cpp') 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 at %s", chr, field.c_str(), tag->getTagLocation().c_str())); -- cgit v1.3.1-10-gc9f91