summaryrefslogtreecommitdiff
path: root/include/socket.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-23 14:19:33 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-23 14:19:33 +0000
commit529c6acc0177651e0b01cc6d7dcb7509fce17d14 (patch)
treeaf36cb6a39faf8442a7cb7bab162c13f0531c53e /include/socket.h
parent371daf9928def23164b49b39ced1d3cdeb9225b8 (diff)
Unload as many modules as we can on restart, and close listeners
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6068 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/socket.h')
-rw-r--r--include/socket.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/socket.h b/include/socket.h
index e9a832b9c..b8f6387d3 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -152,6 +152,9 @@ class ListenSocket : public EventHandler
/** Handle an I/O event
*/
void HandleEvent(EventType et, int errornum = 0);
+ /** Close the socket
+ */
+ ~ListenSocket();
};
#endif