Fix swapped parameters when opering remote users.

This commit is contained in:
Sadie Powell 2024-06-23 16:41:54 +01:00
parent b59fa6cf32
commit 5a3dbf7a05

View File

@ -89,7 +89,7 @@ CmdResult CommandOpertype::HandleRemote(RemoteUser* u, CommandBase::Params& para
// the oper details we instead just assume they have access to everything
// as was the default until 1206.
bool automatic = params.GetTags().find("~automatic") != params.GetTags().end();
u->OperLogin(std::make_shared<RemoteOperAccount>(params.back(), params.GetTags()), true, automatic);
u->OperLogin(std::make_shared<RemoteOperAccount>(params.back(), params.GetTags()), automatic, true);
if (Utils->quiet_bursts)
{