diff options
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r-- | src/modules/m_spanningtree/utils.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/utils.cpp b/src/modules/m_spanningtree/utils.cpp index 9ae6d4d14..46769a6f4 100644 --- a/src/modules/m_spanningtree/utils.cpp +++ b/src/modules/m_spanningtree/utils.cpp @@ -176,8 +176,10 @@ SpanningTreeUtilities::~SpanningTreeUtilities() sock->Close(); } } - delete TreeRoot; + + // This avoids a collision on reload ServerUser->uuid = TreeRoot->GetID(); + delete TreeRoot; delete ServerUser; ServerInstance->BufferedSocketCull(); } |