From 5a3dbf7a0556ad6db5f28ee1c632fbbfc0812443 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 23 Jun 2024 16:41:54 +0100 Subject: Fix swapped parameters when opering remote users. --- src/modules/m_spanningtree/opertype.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree') 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(params.back(), params.GetTags()), true, automatic); + u->OperLogin(std::make_shared(params.back(), params.GetTags()), automatic, true); if (Utils->quiet_bursts) { -- cgit v1.3.1-10-gc9f91