From 16ca76c2e7ab287e480185fbb03a0bb438351eda Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 23 Jan 2017 12:35:14 -0500 Subject: Make log system use newer format strings Also allow log messages to be translatable --- modules/encryption/old.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/encryption/old.cpp') diff --git a/modules/encryption/old.cpp b/modules/encryption/old.cpp index bfe7131bc..22065e441 100644 --- a/modules/encryption/old.cpp +++ b/modules/encryption/old.cpp @@ -92,7 +92,8 @@ class EOld : public Module Anope::string buf = "oldmd5:" + Anope::Hex(digest2, sizeof(digest2)); - Log(LOG_DEBUG_2) << "(enc_old) hashed password from [" << src << "] to [" << buf << "]"; + logger.Debug2("hashed password from [{0}] to [{1}]", src, buf); + dest = buf; delete context; return EVENT_ALLOW; -- cgit