diff options
| author | 2022-01-18 03:30:22 +0000 | |
|---|---|---|
| committer | 2022-05-01 22:07:14 +0100 | |
| commit | e23ee3fde17a6bb17a9e56c7105f4bbceb36391f (patch) | |
| tree | b5117aa2cc0fe2bee18df3a5dabf0ecc49dbd30e /src/modules/m_connectban.cpp | |
| parent | Rewrite the entire logging system. (diff) | |
| download | inspircd++-e23ee3fde17a6bb17a9e56c7105f4bbceb36391f.tar.gz inspircd++-e23ee3fde17a6bb17a9e56c7105f4bbceb36391f.tar.bz2 inspircd++-e23ee3fde17a6bb17a9e56c7105f4bbceb36391f.zip | |
Rewrite logging calls to use the new APIs.
Diffstat (limited to 'src/modules/m_connectban.cpp')
| -rw-r--r-- | src/modules/m_connectban.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_connectban.cpp b/src/modules/m_connectban.cpp index 0b279adf4..e074c9cc7 100644 --- a/src/modules/m_connectban.cpp +++ b/src/modules/m_connectban.cpp @@ -64,7 +64,7 @@ private: } // If we have reached this point then we have encountered a bug. - ServerInstance->Logs.Log(MODNAME, LOG_DEBUG, "BUG: ModuleConnectBan::GetRange(): socket type %d is unknown!", family); + ServerInstance->Logs.Debug(MODNAME, "BUG: ModuleConnectBan::GetRange(): socket type %d is unknown!", family); return 0; } @@ -170,7 +170,7 @@ public: void OnGarbageCollect() override { - ServerInstance->Logs.Log(MODNAME, LOG_DEBUG, "Clearing map."); + ServerInstance->Logs.Debug(MODNAME, "Clearing map."); connects.clear(); } }; |
