From edd89c2021ec3d94f637366b1d46afc4e6759406 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Fri, 20 Mar 2009 19:21:59 +0000
Subject: [PATCH] Call bbs.user_sync() at end of logon script to force Guest
 property changes made during the script to be loaded into the BBS.

---
 exec/logon.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/exec/logon.js b/exec/logon.js
index edb0cfcac2..94dfbed6d2 100644
--- a/exec/logon.js
+++ b/exec/logon.js
@@ -215,6 +215,9 @@ if(user.security.level==99				/* Sysop logging on */
 	console.crlf();
 }
 
+// Force reload of user record (for Guest logons)
+bbs.user_sync();
+
 // Change to "true" if you want your RLogin server to act as a door game server only
 if(false	
 	&& bbs.sys_status&SS_RLOGIN) {
-- 
GitLab