From a17dc5a964cce8d453c02f28e8f9b21b16d55897 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 27 Mar 2006 19:54:54 +0000 Subject: Backport to 1.0 stable tree git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3780 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/modules/m_spanningtree.cpp') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 23ad4b820..25ffd77e6 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1,4 +1,4 @@ -/* +------------------------------------+ +;/* +------------------------------------+ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * @@ -3517,11 +3517,7 @@ class ModuleSpanningTree : public Module std::deque params; params.clear(); params.push_back(channel->name); - if (*channel->key) - { - // if the channel has a key, force the join by emulating the key. - params.push_back(channel->key); - } + if (channel->GetUserCounter() > 1) { // not the first in the channel -- cgit v1.3.1-10-gc9f91