aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_dccallow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_dccallow.cpp')
-rw-r--r--src/modules/m_dccallow.cpp4
1 files changed, 2 insertions, 2 deletions
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;