mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 18:49:03 -04:00
Fix swapped parameters when opering remote users.
This commit is contained in:
parent
b59fa6cf32
commit
5a3dbf7a05
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user