diff options
| author | 2024-02-27 14:44:27 +0000 | |
|---|---|---|
| committer | 2024-02-27 14:51:31 +0000 | |
| commit | 2d189c572e3825ac9d16a5baffa08c8162cbc8a3 (patch) | |
| tree | 3031ad8f39b4c7f7caa8805a4baaa1c2f3b14ca2 /src/modules/m_spanningtree/main.cpp | |
| parent | Send the real username as the second parameter to FIDENT. (diff) | |
Replace FRHOST with a two parameter version of FHOST.
No compat layer needed here as FRHOST was added in v4.
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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) |
