1
0
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:
cyberbotx
2009-04-11 06:57:52 +00:00
parent ea090fae8d
commit 25e81f6ea9
+3
View File
@@ -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;