summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-06-05 20:16:11 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-06-05 20:16:11 +0000
commitca0b64db5036b8956ec9619ce786c991ec839759 (patch)
tree68955142478007e686709704fdd81a14e986b46d
parentc59a28a1a71ccd2ac1fda2b35ef9b0e0e3561fa6 (diff)
Fix for collisions when clock is out
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3991 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_spanningtree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index a99d40607..146842df2 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -2605,7 +2605,7 @@ class TreeSocket : public InspSocket
* and our copy.
*/
userrec* x = Srv->FindNick(params[0]);
- if (x)
+ if ((x) && (x != who))
{
std::deque<std::string> p;
p.push_back(params[0]);