diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/inspircd.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 6cb5c0dd0..a15c1fd68 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -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, |