summaryrefslogtreecommitdiff
path: root/src/dynamic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dynamic.cpp')
-rw-r--r--src/dynamic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynamic.cpp b/src/dynamic.cpp
index 1dfb823c6..dfc02ac24 100644
--- a/src/dynamic.cpp
+++ b/src/dynamic.cpp
@@ -71,7 +71,7 @@ DLLManager::DLLManager(char *fname)
FILE* x = fopen(fname,"rb");
char tmpfile_template[255];
char buffer[65536];
- snprintf(tmpfile_template, 255, "/tmp/inspircd_file.so.%d.XXXXXXXXXX",getpid());
+ snprintf(tmpfile_template, 255, "%s/inspircd_file.so.%d.XXXXXXXXXX",Config->TempDir,getpid());
int fd = mkstemp(tmpfile_template);
while (!feof(x))
{