summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-04-06 19:34:35 -0500
committerAdam <Adam@anope.org>2013-04-06 19:34:35 -0500
commit36602224b8b1a11326a224779d16bcb12f0ed532 (patch)
treea542057c83aab53bc1c3d50cf300b2f64ebf6143 /include
parentccecfdf44506d97874cdd1bc8b73a273188310c4 (diff)
Remove the runtime module directory on non-windows because we no longer overwrite modules on install without deleting them first
Diffstat (limited to 'include')
-rw-r--r--include/modules.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h
index 10b9ed8aa..22a3b9ce7 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -1032,9 +1032,11 @@ class CoreExport ModuleManager
*/
static std::vector<Module *> EventHandlers[I_END];
+#ifdef _WIN32
/** Clean up the module runtime directory
*/
static void CleanupRuntimeDirectory();
+#endif
/** Loads a given module.
* @param m the module to load