From f12fd5382fef6aa5c6f75b2614460089a9af9f27 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 23 Jul 2007 23:10:16 +0000 Subject: Fix crash on unload of modules with listening sockets -- some situations require that the socket cull list is purged *immediately*, provide facility for this. Also squish some silly error output on unloading spanningtree. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7529 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspircd.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/inspircd.h b/include/inspircd.h index c3f8ed328..79d3ae7ed 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -1273,6 +1273,11 @@ class CoreExport InspIRCd : public classbase * @return The return value for this function is undefined. */ int Run(); + + /** Force all InspSockets to be removed which are due to + * be culled. + */ + void InspSocketCull(); }; #endif -- cgit v1.2.3