diff options
-rw-r--r-- | src/modules/m_spanningtree.cpp | 2 |
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]); |