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/hostserv/set.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/hostserv/set.cpp') diff --git a/modules/hostserv/set.cpp b/modules/hostserv/set.cpp index f66c42d8a..8162fa80d 100644 --- a/modules/hostserv/set.cpp +++ b/modules/hostserv/set.cpp @@ -113,6 +113,8 @@ class CommandHSSetDefault : public Command vhost->SetDefault(true); source.Reply(_("Your default vhost is now \002{0}\002."), vhost->Mask()); + + logger.Command(LogType::COMMAND, source, _("{source} used {command} set their default vhost to {0}"), vhost->Mask()); } bool OnHelp(CommandSource &source, const Anope::string &) override -- cgit