mirror of
https://github.com/anope/anope.git
synced 2026-06-30 13:06:38 +02:00
Add a non-formatting overload of User::SetModesInternal.
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ Server::Server(Server *up, const Anope::string &sname, unsigned shops, const Ano
|
||||
{
|
||||
Anope::string modes = !bi->botmodes.empty() ? ("+" + bi->botmodes) : IRCD->DefaultPseudoclientModes;
|
||||
|
||||
bi->SetModesInternal(bi, modes.c_str());
|
||||
bi->SetModesInternal(bi, modes);
|
||||
for (const auto &botchannel : bi->botchannels)
|
||||
{
|
||||
size_t h = botchannel.find('#');
|
||||
|
||||
Reference in New Issue
Block a user