From febcbe52ff2f42f416cee37d68d0f4bd8529c3d1 Mon Sep 17 00:00:00 2001
From: Thomas Rudin <thomas@rudin.io>
Date: Sun, 26 Jan 2020 14:22:50 +0100
Subject: [PATCH] fix nil crash

---
 search.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/search.lua b/search.lua
index a850eae..b1d73bd 100644
--- a/search.lua
+++ b/search.lua
@@ -109,7 +109,7 @@ local function show_formspec(playername, data)
 		-- save description
 		item.description = description
 
-		list = list .. "," .. color .. "," .. distance .. "," .. owner .. "," .. coords .. "," .. description
+		list = list .. "," .. color .. "," .. distance .. "," .. (owner or "?") .. "," .. coords .. "," .. description
 
 	end
 
-- 
GitLab