diff options
author | Adam <Adam@anope.org> | 2017-01-23 12:35:14 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2017-01-23 12:35:14 -0500 |
commit | 16ca76c2e7ab287e480185fbb03a0bb438351eda (patch) | |
tree | dfb25534afa2352b65b2ee707086cb5eecc96fbb /modules/encryption/md5.cpp | |
parent | ff030c1eb7c3764f9add2a689479e84d616cabcb (diff) |
Make log system use newer format strings
Also allow log messages to be translatable
Diffstat (limited to 'modules/encryption/md5.cpp')
-rw-r--r-- | modules/encryption/md5.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/encryption/md5.cpp b/modules/encryption/md5.cpp index ca3bfcc9a..7dd92d92f 100644 --- a/modules/encryption/md5.cpp +++ b/modules/encryption/md5.cpp @@ -376,7 +376,7 @@ class EMD5 : public Module Anope::string buf = "md5:" + Anope::Hex(reinterpret_cast<const char *>(hash.first), hash.second); - Log(LOG_DEBUG_2) << "(enc_md5) hashed password from [" << src << "] to [" << buf << "]"; + logger.Debug2("hashed password from [{0}] to [{1}]", src, buf); dest = buf; return EVENT_ALLOW; } |