diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-11 06:57:52 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-11 06:57:52 +0000 |
commit | 25e81f6ea9d8a051dd5d3aa8a93a57fe088879c7 (patch) | |
tree | 4d094b7a452d3b9d0724ded7bc91694c4b27efe1 | |
parent | ea090fae8d9095fbc94219585de56f821848fc96 (diff) |
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
-rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index fbebc043e..3b11cce6b 100644 --- a/src/main.c +++ b/src/main.c @@ -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; |