diff options
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/main.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 136001d91..c94076e82 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -594,7 +594,15 @@ void ModuleSpanningTree::OnChangeUser(User* user, const std::string& newuser) if (!user->IsFullyConnected() || !IS_LOCAL(user)) return; - CmdBuilder(user, "FIDENT").push(newuser).Broadcast(); + CmdBuilder(user, "FIDENT").push(newuser).push("*").Broadcast(); +} + +void ModuleSpanningTree::OnChangeRealUser(User* user, const std::string& newuser) +{ + if (!user->IsFullyConnected() || !IS_LOCAL(user)) + return; + + CmdBuilder(user, "FIDENT").push("*").push(newuser).Broadcast(); } void ModuleSpanningTree::OnUserPart(Membership* memb, std::string& partmessage, CUList& excepts) |
