From 87ec095a89bbc73a4dd16858bea499f466066212 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 6 Dec 2016 21:02:48 -0500 Subject: Remove many more old C style format strings in the protocol functions --- modules/botserv/main/botserv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/botserv/main') diff --git a/modules/botserv/main/botserv.cpp b/modules/botserv/main/botserv.cpp index c6e1c6413..4f3d4c92b 100644 --- a/modules/botserv/main/botserv.cpp +++ b/modules/botserv/main/botserv.cpp @@ -101,7 +101,7 @@ class BotServCore : public Module, public BotServ::BotServService { ChannelMode *cm = ModeManager::FindChannelModeByName("OP"); char symbol = cm ? anope_dynamic_static_cast(cm)->symbol : 0; - IRCD->SendNotice(bi, (symbol ? Anope::string(symbol) : "") + c->name, "%s invited %s into the channel.", user->nick.c_str(), user->nick.c_str()); + IRCD->SendNotice(bi, (symbol ? Anope::string(symbol) : "") + c->name, "{0} invited {1} into the channel.", user->nick, user->nick); } ModeManager::ProcessModes(); -- cgit