summaryrefslogtreecommitdiff
path: root/modules/botserv/bs_control.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-06-24 13:29:41 +0100
committerSadie Powell <sadie@witchery.services>2024-06-24 13:30:17 +0100
commit6e5713d64a379fc64c7ff6658362d02b3618c3ca (patch)
tree013fe8b9831fb514502b7f07669929bd484ee45d /modules/botserv/bs_control.cpp
parent249ad3dfea933310f10947cc03f6fe85ab116b81 (diff)
Remove the formatting overloads of SendNotice/SendPrivmsg.
Diffstat (limited to 'modules/botserv/bs_control.cpp')
-rw-r--r--modules/botserv/bs_control.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/botserv/bs_control.cpp b/modules/botserv/bs_control.cpp
index 32101be6e..1784914b6 100644
--- a/modules/botserv/bs_control.cpp
+++ b/modules/botserv/bs_control.cpp
@@ -56,7 +56,7 @@ public:
return;
}
- IRCD->SendPrivmsg(*ci->bi, ci->name, "%s", text.c_str());
+ IRCD->SendPrivmsg(*ci->bi, ci->name, text);
ci->bi->lastmsg = Anope::CurTime;
bool override = !source.AccessFor(ci).HasPriv("SAY");