diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-17 20:18:40 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-17 20:18:40 +0000 |
commit | 81b7aa657110db03ceb861d8206fc6e805ede9c8 (patch) | |
tree | 8437f5ce65de3e27e5e02196711bd770aa86b7f5 /src/modules.c | |
parent | fd45a3ad4219bffcf2f68fcc1dce3ff33b531b89 (diff) |
Massive cleanup of the CMakeLists.txt files to finalize them.
Edited configuration scripts for *nix and Windows to use CMake as well as support both in-source and out-of-source builds.
Changed directory structure for *nix to match Windows to remove some conditionals in both CMake and Anope itself.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1841 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules.c')
-rw-r--r-- | src/modules.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/modules.c b/src/modules.c index 48a01c43a..93983a247 100644 --- a/src/modules.c +++ b/src/modules.c @@ -1239,12 +1239,7 @@ void ModuleRunTimeDirCleanUp() char dirbuf[BUFSIZE]; char filebuf[BUFSIZE]; - -#ifndef _WIN32 - snprintf(dirbuf, BUFSIZE, "%s/modules/runtime", services_dir); -#else - snprintf(dirbuf, BUFSIZE, "\\%s", "modules/runtime"); -#endif + snprintf(dirbuf, BUFSIZE, "%s/modules/runtime", services_dir.c_str()); if (debug) { alog("debug: Cleaning out Module run time directory (%s) - this may take a moment please wait", dirbuf); |