Skip to content
Snippets Groups Projects
Commit e77d0fe7 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 13728d12
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -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