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

Always use .plan now...

Sysops, rename all .pla files to .plan
Dance little SysOps dance!  BWA HA HA!
parent f07afb99
No related branches found
No related tags found
No related merge requests found
......@@ -426,8 +426,6 @@ write(format("Last login %s %s\r\nvia %s from %s [%s]\r\n"
,u.ip_address));
var plan;
plan=format("%suser/%04d.plan",system.data_dir,u.number);
if(!file_exists(plan)) /* Use 8.3 filename for DOS-editor compatibility? */
plan=format("%suser/%04d.pla",system.data_dir,u.number);
if(file_exists(plan)) {
write("Plan:\r\n");
send_file(plan);
......
......@@ -751,7 +751,7 @@ function str_cmds(str)
if(str=="HELP")
writeln("PLAN\tEdits or deletes your .plan file (displayed when somebody fingers you).");
if(str=="PLAN") {
var plan=format("%suser/%04d.pla",system.data_dir,user.number);
var plan=format("%suser/%04d.plan",system.data_dir,user.number);
if(file_exists(plan)) {
if(console.yesno("Display current .plan"))
console.printfile(plan);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment