summaryrefslogtreecommitdiff
path: root/src/modules/m_quitban.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_quitban.cpp')
-rw-r--r--src/modules/m_quitban.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_quitban.cpp b/src/modules/m_quitban.cpp
index 2509a17b7..6da23b735 100644
--- a/src/modules/m_quitban.cpp
+++ b/src/modules/m_quitban.cpp
@@ -64,7 +64,7 @@ class ModuleChanCreate : public Module
if (i != quits.end())
{
i->second++;
- ServerInstance->Log(DEBUG, "quitban: Count for IP is now %d", i->second);
+ ServerInstance->Logs->Log("m_quitban",DEBUG, "quitban: Count for IP is now %d", i->second);
if (i->second >= threshold)
{
@@ -82,13 +82,13 @@ class ModuleChanCreate : public Module
else
{
quits[u->GetIPString()] = 1;
- ServerInstance->Log(DEBUG, "quitban: Added new record");
+ ServerInstance->Logs->Log("m_quitban",DEBUG, "quitban: Added new record");
}
}
virtual void OnGarbageCollect()
{
- ServerInstance->Log(DEBUG, "quitban: Clearing map.");
+ ServerInstance->Logs->Log("m_quitban",DEBUG, "quitban: Clearing map.");
quits.clear();
}
};