diff options
| author | 2006-03-27 19:54:54 +0000 | |
|---|---|---|
| committer | 2006-03-27 19:54:54 +0000 | |
| commit | a17dc5a964cce8d453c02f28e8f9b21b16d55897 (patch) | |
| tree | 4a447d5bb21d01eec480d7120dc060ad48e98565 /src/modules/m_spanningtree.cpp | |
| parent | Backport founder remove fix, ignore invalid channel name check as it isn't se... (diff) | |
Backport to 1.0 stable tree
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3780 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
| -rw-r--r-- | src/modules/m_spanningtree.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
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<std::string> 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 |
