Skip to content
Snippets Groups Projects
Commit 18b7a7e9 authored by rswindell's avatar rswindell
Browse files

Fix LIST command when used with a filename argument

parent ceb0fd0f
Branches
Tags
No related merge requests found
......@@ -112,7 +112,7 @@ function str_cmds(str)
writeln("LIST <filename>");
writeln("\tDisplays a file.");
}
if(str=="LIST") {
if(word=="LIST") {
if(bbs.check_syspass()) {
str=str.substr(4);
console.printfile(get_arg(str));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment