summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-06-25 00:16:24 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-06-25 00:16:24 +0000
commit2ce729c0037bb1e469f46fa91f9ce8484ca5daf5 (patch)
treed303559925c1473bc42c43b04d77f41ffe0a2f4c /src
parentafcdca067056e4740fb5f36e2dcf1f54616ea506 (diff)
Extra safety for user lists to not keep bad pointers hanging about
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4059 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 18f92c025..e15ac11b7 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -3687,6 +3687,7 @@ class ModuleSpanningTree : public Module
if (SourceServer)
{
SourceServer->DelUserCount();
+ SourceServer->DelUser(user);
}
}