summaryrefslogtreecommitdiff
path: root/src/xline.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2015-11-05 20:50:10 -0500
committerAdam <Adam@anope.org>2015-11-05 20:50:10 -0500
commitd40edcae69092ab02fc302066a0aa968843fc963 (patch)
treeda68178a9731293f9ea8acc7cf55ef0fb4c55d20 /src/xline.cpp
parent4c1cc0e05d49b494b1462dba1d51d31cec384436 (diff)
null xline manager when removing so removexline doesn't get called
Diffstat (limited to 'src/xline.cpp')
-rw-r--r--src/xline.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xline.cpp b/src/xline.cpp
index 2e48283d0..49341072f 100644
--- a/src/xline.cpp
+++ b/src/xline.cpp
@@ -337,6 +337,7 @@ bool XLineManager::DelXLine(XLine *x)
{
this->SendDel(x);
+ x->manager = NULL; // Don't call remove
delete x;
this->xlines->erase(it);