From 72066314e9296e3a8dab95827f7086e023b991e2 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Sat, 22 Feb 2003 00:16:54 +0000
Subject: [PATCH] Whoops, it's console.getstr, not bbs.getstr.

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

diff --git a/exec/logon.js b/exec/logon.js
index e26e25529e..a9180e0057 100644
--- a/exec/logon.js
+++ b/exec/logon.js
@@ -14,7 +14,7 @@ load("sbbsdefs.js");
 if(user.security.restrictions&UFLAG_G) {
 	while(bbs.online) {
 		printf("\1y\1hFor our records, please enter your full name: \1w");
-		name=bbs.getstr(25,K_UPRLWR);
+		name=console.getstr(25,K_UPRLWR);
 		if(!name || !name.length)
 			continue;
 		bbs.log_str("Guest: " + name);
@@ -24,7 +24,7 @@ if(user.security.restrictions&UFLAG_G) {
 	
 	while(bbs.online) {
 		printf("\1y\1hPlease enter your location (City, State): \1w");
-		location=bbs.getstr(30,K_UPRLWR);
+		location=console.getstr(30,K_UPRLWR);
 		if(!location || !location.length)
 			continue;
 		bbs.log_str("  " + location);
@@ -36,7 +36,7 @@ if(user.security.restrictions&UFLAG_G) {
 		bbs.log_str("\r\n");
 	while(bbs.online) {
 		printf("\1y\1hWhere did you hear about this BBS?\r\n: \1w");
-		ref=bbs.getstr(70);
+		ref=console.getstr(70);
 		if(!ref || !ref.length)
 			continue;
 		bbs.log_str(ref + "\r\n");
-- 
GitLab