From e23ee3fde17a6bb17a9e56c7105f4bbceb36391f Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 18 Jan 2022 03:30:22 +0000 Subject: Rewrite logging calls to use the new APIs. --- src/modules/m_dccallow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_dccallow.cpp') diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index bffa96872..31032d81b 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -135,7 +135,7 @@ public: // Check we have space for another entry. if (list->size() >= maxentries) { - ServerInstance->Logs.Log(MODNAME, LOG_DEBUG, "Oversized DCC allow list received for %s: %s", + ServerInstance->Logs.Debug(MODNAME, "Oversized DCC allow list received for %s: %s", user->uuid.c_str(), value.c_str()); delete list; return; @@ -148,7 +148,7 @@ public: !ts.GetNumericToken(dccallow.set_on) || !ts.GetNumericToken(dccallow.length)) { - ServerInstance->Logs.Log(MODNAME, LOG_DEBUG, "Malformed DCC allow list received for %s: %s", + ServerInstance->Logs.Debug(MODNAME, "Malformed DCC allow list received for %s: %s", user->uuid.c_str(), value.c_str()); delete list; return; -- cgit v1.3.1-10-gc9f91