diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-06 18:44:39 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-06 18:44:39 +0000 |
commit | 7fe2038b85d188207ef4f306f0d8744e155eb4fd (patch) | |
tree | f254b4df8f8008141d11113783d0bbffe8d78932 /src/modules/m_spanningtree.cpp | |
parent | 9596cc3ebfd798440e91923178a7468fb012e532 (diff) |
Fix SVSJOIN desync (nothing too severe, don't panic) noticed on CS, found by me/Brain :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6236 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r-- | src/modules/m_spanningtree.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 4d4e082f9..e960948ac 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -2463,7 +2463,9 @@ class TreeSocket : public InspSocket if (u) { - chanrec::JoinUser(this->Instance, u, params[1].c_str(), false); + /* only join if it's local, otherwise just pass it on! */ + if (IS_LOCAL(u)) + chanrec::JoinUser(this->Instance, u, params[1].c_str(), false); Utils->DoOneToAllButSender(prefix,"SVSJOIN",params,prefix); } return true; |