From 25e81f6ea9d8a051dd5d3aa8a93a57fe088879c7 Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Sat, 11 Apr 2009 06:57:52 +0000 Subject: [PATCH] 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 --- src/main.c | 3 +++ 1 file changed, 3 insertions(+) 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;