diff options
| author | Adam <Adam@anope.org> | 2016-12-06 21:02:48 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2016-12-06 21:02:48 -0500 |
| commit | 87ec095a89bbc73a4dd16858bea499f466066212 (patch) | |
| tree | 776129c883242ae6b6c27884b128a336b801999b /modules/botserv/main | |
| parent | 1ff4719ea70cfead41bd91d7b78cfdcb5b84b8cc (diff) | |
Remove many more old C style format strings in the protocol functions
Diffstat (limited to 'modules/botserv/main')
| -rw-r--r-- | modules/botserv/main/botserv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<ChannelModeStatus *>(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(); |
