diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-06-04 22:16:15 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-06-04 22:16:15 +0200 |
commit | f07eda62da11eaab091e817e41d3a2bc8f4bd8d0 (patch) | |
tree | 6a075264923f76c37c0e6089c36ed354d113e5b0 /src/modules | |
parent | fc198fffe16fed4d9c8863e0571c5f314aaa5147 (diff) |
m_spanningtree Fix FIDENT routing
A new FIDENT was broadcast for each incoming FIDENT causing harmless but unnecessary server to server traffic
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_spanningtree/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index fdb9ef200..7e6ad12f8 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -652,8 +652,7 @@ void ModuleSpanningTree::OnChangeName(User* user, const std::string &gecos) void ModuleSpanningTree::OnChangeIdent(User* user, const std::string &ident) { - // only occurs for local clients - if (user->registered != REG_ALL) + if ((user->registered != REG_ALL) || (!IS_LOCAL(user))) return; parameterlist params; |