From 8098202f784dabe76429e8e9af0e6e8707f0550a Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Tue, 1 Jan 2019 12:58:46 +0000
Subject: [PATCH] Beautification: moved the "Create Guest/Anonymous user
 account" prompt to before the last users and avatar display. Removed the
 "WIPSHELL" thing.

---
 exec/logon.js | 26 +++++++++++---------------
 1 file changed, 11 insertions(+), 15 deletions(-)

diff --git a/exec/logon.js b/exec/logon.js
index 0e569eeafc..265e9525d2 100644
--- a/exec/logon.js
+++ b/exec/logon.js
@@ -124,6 +124,17 @@ if(random_list.length)
 console.clear();
 bbs.user_event(EVENT_LOGON);
 
+if(user.security.level==99				/* Sysop logging on */
+	&& !system.matchuser("guest")		/* Guest account does not yet exist */
+	&& user.security.flags4&UFLAG_G		/* Sysop has not asked to stop this question */
+	) {
+	if(console.yesno("Create Guest/Anonymous user account (highly recommended)"))
+		load("makeguest.js");
+	else if(!console.yesno("Ask again later"))
+		user.security.flags4&=~UFLAG_G;	/* Turn off flag 4G to not ask again */
+	console.crlf();
+}
+
 /*
 	* Disable HTML mode if not using an HTML shell
 	* If you don't do this, you'll get HTML menus that flash on
@@ -228,21 +239,6 @@ else {
 	}
 }
 
-// Automatically set shell to WIPSHELL
-if(user.settings&USER_WIP)
-	user.command_shell="WIPSHELL";
-
-if(user.security.level==99				/* Sysop logging on */
-	&& !system.matchuser("guest")		/* Guest account does not yet exist */
-	&& user.security.flags4&UFLAG_G		/* Sysop has not asked to stop this question */
-	) {
-	if(console.yesno("Create Guest/Anonymous user account (highly recommended)"))
-		load("makeguest.js");
-	else if(!console.yesno("Ask again later"))
-		user.security.flags4&=~UFLAG_G;	/* Turn off flag 4G to not ask again */
-	console.crlf();
-}
-
 // Set rlogin_xtrn_menu=true in [logon] section of ctrl/modopts.ini
 // if you want your RLogin server to act as a door game server only
 if(options
-- 
GitLab