mirror of
https://github.com/anope/anope.git
synced 2026-07-02 23:03:12 +02:00
Backport of r2271, remove files from the modules runtime directory on startup, just in case files were left behind during a previous run.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2272 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -560,6 +560,9 @@ 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 on a previous run */
|
||||
ModuleRunTimeDirCleanUp();
|
||||
|
||||
/* General initialization first */
|
||||
if ((i = init_primary(ac, av)) != 0)
|
||||
return i;
|
||||
|
||||
Reference in New Issue
Block a user