From f07eda62da11eaab091e817e41d3a2bc8f4bd8d0 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Tue, 4 Jun 2013 22:16:15 +0200 Subject: m_spanningtree Fix FIDENT routing A new FIDENT was broadcast for each incoming FIDENT causing harmless but unnecessary server to server traffic --- src/modules/m_spanningtree/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 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 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; -- cgit v1.3.1-10-gc9f91