Skip to content
Snippets Groups Projects
Commit d9d93ffa authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Use system.temp_dir (configurable by sysop) instead of system.temp_path

Fixes issue #648
parent b18000fe
Branches
Tags
1 merge request!455Update branch with changes from master
......@@ -93,7 +93,7 @@ try {
log(LOG_DEBUG, "Connecting to " + TargetHostname + ":" + TargetPort);
if (FServerSocket.connect(TargetHostname, TargetPort)) {
ipFile = new File(system.temp_path + 'sbbs-ws-' + FServerSocket.local_port + '.ip');
ipFile = new File(system.temp_dir + 'sbbs-ws-' + FServerSocket.local_port + '.ip');
if (ipFile.open('w')) {
ipFile.write(client.ip_address);
ipFile.close();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment