From b2965f7e7b7e37bfbee5628b6331ab712128b08c Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Sun, 24 Feb 2008 01:43:37 +0000 Subject: [PATCH] Fix typo with ;ERR command in last commit. --- exec/str_cmds.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/str_cmds.js b/exec/str_cmds.js index f899624037..a48c28b3ab 100644 --- a/exec/str_cmds.js +++ b/exec/str_cmds.js @@ -66,7 +66,7 @@ function str_cmds(str) } if(str=="ERR") { var errlog=system.logs_dir+"error.log"; - if(file_exists()) { + if(file_exists(errlog)) { write(bbs.text(ErrorLogHdr)); console.printfile(errlog); if(!console.noyes(bbs.text(DeleteErrorLogQ))) -- GitLab