mirror of
https://github.com/anope/anope.git
synced 2026-06-26 07:56:39 +02:00
Moved some global functions to be member functions and misc cleanup
This commit is contained in:
+2
-2
@@ -205,7 +205,7 @@ static void services_shutdown()
|
||||
FOREACH_MOD(I_OnShutdown, OnShutdown());
|
||||
ModuleManager::UnloadAll();
|
||||
/* just in case they weren't all removed at least run once */
|
||||
ModuleRunTimeDirCleanUp();
|
||||
ModuleManager::CleanupRuntimeDirectory();
|
||||
}
|
||||
|
||||
/*************************************************************************/
|
||||
@@ -402,7 +402,7 @@ int main(int ac, char **av, char **envp)
|
||||
#endif
|
||||
|
||||
/* Clean out the module runtime directory prior to running, just in case files were left behind during a previous run */
|
||||
ModuleRunTimeDirCleanUp();
|
||||
ModuleManager::CleanupRuntimeDirectory();
|
||||
|
||||
/* General initialization first */
|
||||
Init(ac, av);
|
||||
|
||||
Reference in New Issue
Block a user