From e862582e7e11a8badb4a92d001a3d53eae2d2401 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 7 Feb 2019 12:14:07 +0000 Subject: LogManager: remove fakederef. --- src/modules/m_disable.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_disable.cpp') diff --git a/src/modules/m_disable.cpp b/src/modules/m_disable.cpp index fb10a92a0..2310e7dfb 100644 --- a/src/modules/m_disable.cpp +++ b/src/modules/m_disable.cpp @@ -59,7 +59,7 @@ class ModuleDisable : public Module chr, field.c_str(), tag->getTagLocation().c_str())); // Disable the mode. - ServerInstance->Logs->Log(MODNAME, LOG_DEBUG, "The %c (%s) %s mode has been disabled", + ServerInstance->Logs.Log(MODNAME, LOG_DEBUG, "The %c (%s) %s mode has been disabled", mh->GetModeChar(), mh->name.c_str(), type == MODETYPE_CHANNEL ? "channel" : "user"); status.set(chr - 'A'); } @@ -73,7 +73,7 @@ class ModuleDisable : public Module if (notifyopers) ServerInstance->SNO->WriteToSnoMask('a', buffer); else - ServerInstance->Logs->Log(MODNAME, LOG_DEFAULT, buffer); + ServerInstance->Logs.Log(MODNAME, LOG_DEFAULT, buffer); } public: @@ -97,7 +97,7 @@ class ModuleDisable : public Module continue; // Disable the command. - ServerInstance->Logs->Log(MODNAME, LOG_DEBUG, "The %s command has been disabled", handler->name.c_str()); + ServerInstance->Logs.Log(MODNAME, LOG_DEBUG, "The %s command has been disabled", handler->name.c_str()); newcommands.push_back(handler->name); } -- cgit v1.3.1-10-gc9f91