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_dccallow.cpp | |
| parent | Rewrite the entire logging system. (diff) | |
Rewrite logging calls to use the new APIs.
Diffstat (limited to 'src/modules/m_dccallow.cpp')
| -rw-r--r-- | src/modules/m_dccallow.cpp | 4 |
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; |
