mirror of
https://github.com/anope/anope.git
synced 2026-06-27 11:36:38 +02:00
Add a non-formatting overload of User::SetModesInternal.
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user