diff options
| author | 2024-06-23 16:41:54 +0100 | |
|---|---|---|
| committer | 2024-06-23 16:41:54 +0100 | |
| commit | 5a3dbf7a0556ad6db5f28ee1c632fbbfc0812443 (patch) | |
| tree | 5511e604b5d6a6d4d887b85374c2bc91ca33ac3a /src/modules/m_spanningtree | |
| parent | Release v4.0.0 release candidate 3. (diff) | |
Fix swapped parameters when opering remote users.
Diffstat (limited to 'src/modules/m_spanningtree')
| -rw-r--r-- | src/modules/m_spanningtree/opertype.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/opertype.cpp b/src/modules/m_spanningtree/opertype.cpp index b5647f08d..b70b6d7b3 100644 --- a/src/modules/m_spanningtree/opertype.cpp +++ b/src/modules/m_spanningtree/opertype.cpp @@ -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) { |
