aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_disable.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2019-02-07 12:14:07 +0000
committerGravatar Sadie Powell2019-02-07 12:14:07 +0000
commite862582e7e11a8badb4a92d001a3d53eae2d2401 (patch)
tree264fed5a28c45995c5d296d56622a0d0601de06e /src/modules/m_disable.cpp
parentMerge branch 'insp3' into master. (diff)
LogManager: remove fakederef.
Diffstat (limited to 'src/modules/m_disable.cpp')
-rw-r--r--src/modules/m_disable.cpp6
1 files changed, 3 insertions, 3 deletions
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);
}