mirror of
https://github.com/anope/anope.git
synced 2026-07-03 10:53:12 +02:00
null xline manager when removing so removexline doesn't get called
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user