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/memoserv/send.cpp | |
parent | ff030c1eb7c3764f9add2a689479e84d616cabcb (diff) |
Make log system use newer format strings
Also allow log messages to be translatable
Diffstat (limited to 'modules/memoserv/send.cpp')
-rw-r--r-- | modules/memoserv/send.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/memoserv/send.cpp b/modules/memoserv/send.cpp index 4cdbc0eb3..fdde189f9 100644 --- a/modules/memoserv/send.cpp +++ b/modules/memoserv/send.cpp @@ -53,7 +53,7 @@ class CommandMSSend : public Command if (result == MemoServ::MemoServService::MEMO_SUCCESS) { source.Reply(_("Memo sent to \002%s\002."), nick.c_str()); - Log(LOG_COMMAND, source, this) << "to send a memo to " << nick; + logger.Command(LogType::COMMAND, source, _("{source} used {command} to send a memo to {0}"), nick); } else if (result == MemoServ::MemoServService::MEMO_INVALID_TARGET) { |