summaryrefslogtreecommitdiff
path: root/src/bots.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-06 14:41:54 +0000
committerSadie Powell <sadie@witchery.services>2024-01-08 13:11:50 +0000
commit5db79c1e242d4c06d1aeb2b09f99b8254b7fb5de (patch)
tree05beddb85b9a11c8c674d78f7405f50072f18f7b /src/bots.cpp
parenta4dddfd5f121c9cc74e05e08a568c6a9febfd56f (diff)
Add a non-formatting overload of User::SetModesInternal.
Diffstat (limited to 'src/bots.cpp')
-rw-r--r--src/bots.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bots.cpp b/src/bots.cpp
index 3fc36ae74..9036250ed 100644
--- a/src/bots.cpp
+++ b/src/bots.cpp
@@ -37,7 +37,7 @@ BotInfo::BotInfo(const Anope::string &nnick, const Anope::string &nuser, const A
{
Anope::string tmodes = !this->botmodes.empty() ? ("+" + this->botmodes) : IRCD->DefaultPseudoclientModes;
if (!tmodes.empty())
- this->SetModesInternal(this, tmodes.c_str());
+ this->SetModesInternal(this, tmodes);
XLine x(this->nick, "Reserved for services");
IRCD->SendSQLine(NULL, &x);