From 50d9d78bb4a0ce2082cbedbf0cbbf7f96aec5d76 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Thu, 13 May 2004 23:23:56 +0000
Subject: [PATCH] Doesn't check bbs.sys_status, if bbs not defined (e.g.
 running from jsexec).

---
 exec/userlist.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec/userlist.js b/exec/userlist.js
index eac05253a5..15de69464a 100644
--- a/exec/userlist.js
+++ b/exec/userlist.js
@@ -22,6 +22,6 @@ for(i=1;i<=lastuser;i++) {
 		,u.location
 		,u.connection
 		);
-	if(bbs.sys_status&SS_ABORT)
+	if(this.bbs!=undefined && bbs.sys_status&SS_ABORT)
 		break;
 }	
\ No newline at end of file
-- 
GitLab