From 2d189c572e3825ac9d16a5baffa08c8162cbc8a3 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 27 Feb 2024 14:44:27 +0000 Subject: Replace FRHOST with a two parameter version of FHOST. No compat layer needed here as FRHOST was added in v4. --- src/modules/m_spanningtree/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_spanningtree/main.cpp') diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index c94076e82..e07ae5ad8 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -570,7 +570,7 @@ void ModuleSpanningTree::OnChangeHost(User* user, const std::string& newhost) if (!user->IsFullyConnected() || !IS_LOCAL(user)) return; - CmdBuilder(user, "FHOST").push(newhost).Broadcast(); + CmdBuilder(user, "FHOST").push(newhost).push('*').Broadcast(); } void ModuleSpanningTree::OnChangeRealHost(User* user, const std::string& newhost) @@ -578,7 +578,7 @@ void ModuleSpanningTree::OnChangeRealHost(User* user, const std::string& newhost if (!user->IsFullyConnected() || !IS_LOCAL(user)) return; - CmdBuilder(user, "FRHOST").push(newhost).Broadcast(); + CmdBuilder(user, "FHOST").push('*').push(newhost).Broadcast(); } void ModuleSpanningTree::OnChangeRealName(User* user, const std::string& real) -- cgit v1.3.1-10-gc9f91