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.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules.cpp') diff --git a/src/modules.cpp b/src/modules.cpp index d0a8408c3..1107d8e7d 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -565,7 +565,7 @@ void ModuleManager::DelService(ServiceProvider& item) switch (item.service) { case SERVICE_MODE: - if (!ServerInstance->Modes->DelMode(static_cast(&item))) + if (!ServerInstance->Modes.DelMode(static_cast(&item))) throw ModuleException("Mode "+std::string(item.name)+" does not exist."); // Fall through case SERVICE_DATA: -- cgit v1.3.1-10-gc9f91