diff options
| author | 2023-01-23 23:48:09 +0000 | |
|---|---|---|
| committer | 2023-01-24 00:12:57 +0000 | |
| commit | 206d31de85192353d03c74766e80513a87dc49b4 (patch) | |
| tree | 24fdee802c85c29b66a04901147d019e92e30931 /src/modules/m_dccallow.cpp | |
| parent | Convert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings. (diff) | |
Convert log calls to use fmtlib format strings
Diffstat (limited to 'src/modules/m_dccallow.cpp')
| -rw-r--r-- | src/modules/m_dccallow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index b0dce6c2a..24f2c4758 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -138,8 +138,8 @@ public: // Check we have space for another entry. if (list->size() >= maxentries) { - ServerInstance->Logs.Debug(MODNAME, "Oversized DCC allow list received for %s: %s", - user->uuid.c_str(), value.c_str()); + ServerInstance->Logs.Debug(MODNAME, "Oversized DCC allow list received for {}: {}", + user->uuid, value); delete list; return; } @@ -151,8 +151,8 @@ public: !ts.GetNumericToken(dccallow.set_on) || !ts.GetNumericToken(dccallow.length)) { - ServerInstance->Logs.Debug(MODNAME, "Malformed DCC allow list received for %s: %s", - user->uuid.c_str(), value.c_str()); + ServerInstance->Logs.Debug(MODNAME, "Malformed DCC allow list received for {}: {}", + user->uuid, value); delete list; return; } |
