aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree.cpp
diff options
context:
space:
mode:
authorGravatar brain2006-06-25 00:16:32 +0000
committerGravatar brain2006-06-25 00:16:32 +0000
commit5d5b21c72031e011d985d2768dbde6891795122d (patch)
tree97229ce872a4e276bb2a26586d2ce524004c0061 /src/modules/m_spanningtree.cpp
parentDont allow /REMOVE of a uline, dont allow /REMOVE of a user who isnt on the c... (diff)
Extra safety for user lists to not keep bad pointers hanging about
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4060 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-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 305701f56..7df31ba11 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -3681,6 +3681,7 @@ class ModuleSpanningTree : public Module
if (SourceServer)
{
SourceServer->DelUserCount();
+ SourceServer->DelUser(user);
}
}