diff options
author | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-22 16:47:10 +0000 |
---|---|---|
committer | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-22 16:47:10 +0000 |
commit | da074814501f23680b579feb1ad649c86e8a1348 (patch) | |
tree | 708a5e282425443c3351c0664ed0fa4c2a235eab /src/modules/m_quitban.cpp | |
parent | 07e1c65d9e6419df30a316a3b1f33434ab59f16f (diff) |
Convert remaining InspIRCd::Log() calls to new logging system
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9001 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_quitban.cpp')
-rw-r--r-- | src/modules/m_quitban.cpp | 6 |
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(); } }; |