Skip to content
Snippets Groups Projects
Commit 4032d091 authored by deuce's avatar deuce
Browse files

Use %04d, not %04s (Segfaulted... doh!)

parent 0b66fdbc
No related branches found
No related tags found
No related merge requests found
......@@ -417,7 +417,7 @@ write(format("Last login %s %s\r\nvia %s from %s [%s]\r\n"
,u.host_name
,u.ip_address));
var plan;
plan=format("%suser/%04s.plan",system.data_dir,u.number);
plan=format("%suser/%04d.plan",system.data_dir,u.number);
if(file_exists(plan))
send_file(plan)
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment