]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/inspircd.h
Fix bug in m_dnsbl, a condition is always matched because someone was using unsigned...
[user/henk/code/inspircd.git] / include / inspircd.h
index 6cb5c0dd044b4972f45e0df54a6496f5a542ec3b..a15c1fd6811722c0d56e8f971ec8c18dd46a9c83 100644 (file)
@@ -1121,6 +1121,12 @@ class InspIRCd : public classbase
         */
        void Restart(const std::string &reason);
 
+       /** Prepare the ircd for restart or shutdown.
+        * This function unloads all modules which can be unloaded,
+        * closes all open sockets, and closes the logfile.
+        */
+       void Cleanup();
+
        /** Begin execution of the server.
         * NOTE: this function NEVER returns. Internally,
         * after performing some initialisation routines,