mirror of
https://github.com/anope/anope.git
synced 2026-06-29 23:56:39 +02:00
Remove the formatting overloads of SendNotice/SendPrivmsg.
This commit is contained in:
@@ -75,7 +75,8 @@ public:
|
||||
{
|
||||
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());
|
||||
const auto message = Anope::printf("%s invited %s into the channel.", user->nick.c_str(), user->nick.c_str());
|
||||
IRCD->SendNotice(bi, (symbol ? Anope::string(symbol) : "") + c->name, message);
|
||||
}
|
||||
|
||||
ModeManager::ProcessModes();
|
||||
|
||||
Reference in New Issue
Block a user