diff options
Diffstat (limited to 'src')
-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 db529e08e..dc318b2c5 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -715,7 +715,7 @@ class TreeSocket : public InspSocket */ void Squit(TreeServer* Current,std::string reason) { - if (Current) + if ((Current) && (Current != TreeRoot)) { std::deque<std::string> params; params.push_back(Current->GetName()); |