mirror of
https://github.com/anope/anope.git
synced 2026-07-06 20:03:14 +02:00
Switch Destroy methods to delete
This commit is contained in:
@@ -75,7 +75,7 @@ class DNSBLResolver : public Request
|
||||
else
|
||||
{
|
||||
IRCD->SendAkill(NULL, x);
|
||||
x->Destroy();
|
||||
delete x;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -98,7 +98,7 @@ class ProxyConnect : public ConnectionSocket
|
||||
IRCD->SendSZLine(NULL, x);
|
||||
else
|
||||
IRCD->SendAkill(NULL, x);
|
||||
x->Destroy();
|
||||
delete x;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -70,7 +70,7 @@ bool WebCPanel::ChanServ::Access::OnRequest(HTTPProvider *server, const Anope::s
|
||||
denied = true;
|
||||
}
|
||||
else
|
||||
acc->Destroy();
|
||||
delete acc;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user