From d5b8b84fdd0be34eb220ab95e9b09a32fc2ecf78 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Thu, 5 Sep 2019 20:11:42 +0000
Subject: [PATCH] Fix server logging and exception text.

---
 xtrn/lord/lord.js | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/xtrn/lord/lord.js b/xtrn/lord/lord.js
index fb6095fbb5..6c8fb39f96 100644
--- a/xtrn/lord/lord.js
+++ b/xtrn/lord/lord.js
@@ -3077,9 +3077,6 @@ function log_line(text)
 		rfmutex(f.name);
 	}
 	else {
-		if (!havelock) {
-			create_log(false);
-		}
 		psock.write('LogEntry '+text.length+'\r\n'+text+'\r\n');
 		if (psock.readln() !== 'OK') {
 			throw('Out of sync with server after LogEntry');
@@ -7790,7 +7787,7 @@ function attack_player(op, inn)
 	else if (psock !== undefined) {
 		psock.writeln('RanFromBattle '+op.Record);
 		if (psock.readln() !== 'OK') {
-			throw('Out of sync with server after LostBattle');
+			throw('Out of sync with server after RanFromBattle');
 		}
 	}
 
-- 
GitLab