1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 22:36:39 +02:00

Fixed Windows runtime problems

This commit is contained in:
Adam
2011-08-11 23:10:08 -04:00
parent c2780e1de4
commit d44a1d0867
5 changed files with 39 additions and 25 deletions
+4
View File
@@ -402,6 +402,10 @@ int main(int ac, char **av, char **envp)
ModuleManager::CleanupRuntimeDirectory();
#ifdef _WIN32
OnShutdown();
#endif
if (restarting)
{
chdir(binary_dir.c_str());