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

Don't bother prompting for new file scan when scan pointer is 0

parent d24295e9
Branches
Tags
No related merge requests found
...@@ -278,6 +278,8 @@ function enter_file_section() ...@@ -278,6 +278,8 @@ function enter_file_section()
return; return;
if(!(user.settings & USER_ASK_NSCAN)) if(!(user.settings & USER_ASK_NSCAN))
return; return;
if(user.new_file_time == 0)
return;
console.newline(2); console.newline(2);
if(console.yesno("Search all libraries for new files")) if(console.yesno("Search all libraries for new files"))
bbs.scan_dirs(FL_ULTIME, /* all */true); bbs.scan_dirs(FL_ULTIME, /* all */true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment