From 9059a37a222ea81fb05dde0bedcfa4ac0fdd7f60 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Sat, 14 Mar 2020 18:28:00 +0000
Subject: [PATCH] Fix typo that causes error: line 147: ReferenceError: KMSG is
 not defined Thanks wkitty42!

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

diff --git a/exec/privatemsg.js b/exec/privatemsg.js
index d6046f1cfd..2661007b62 100644
--- a/exec/privatemsg.js
+++ b/exec/privatemsg.js
@@ -144,7 +144,7 @@ while(bbs.online && !(console.aborted)) {
 			var msg = [];
 			while(msg.length < 5) {
 				write("\1n: \1h");
-				var line = console.getstr(70, msg.length < 4 ? (K_WRAP|K_MSG) : KMSG);
+				var line = console.getstr(70, msg.length < 4 ? (K_WRAP|K_MSG) : K_MSG);
 				if(!line)
 					break;
 				msg.push(line);
-- 
GitLab