summaryrefslogtreecommitdiff
path: root/include/protocol.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-01-23 12:35:14 -0500
committerAdam <Adam@anope.org>2017-01-23 12:35:14 -0500
commit16ca76c2e7ab287e480185fbb03a0bb438351eda (patch)
treedfb25534afa2352b65b2ee707086cb5eecc96fbb /include/protocol.h
parentff030c1eb7c3764f9add2a689479e84d616cabcb (diff)
Make log system use newer format strings
Also allow log messages to be translatable
Diffstat (limited to 'include/protocol.h')
-rw-r--r--include/protocol.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/protocol.h b/include/protocol.h
index 4dc115fe6..89d337594 100644
--- a/include/protocol.h
+++ b/include/protocol.h
@@ -112,7 +112,8 @@ public:
if (!sender)
{
- Log(LOG_DEBUG) << "No message sender for type " << T::NAME;
+ const char *const name = T::NAME;
+ Anope::Logger.Debug("No message sender for type {0}", name);
return;
}