From 0f03547b033690932707b2dde1ce3eeb09ddcf7e Mon Sep 17 00:00:00 2001
From: Kahrl <kahrl@gmx.net>
Date: Tue, 9 Feb 2016 08:56:40 +0100
Subject: [PATCH] Log /clearobjects mode

---
 builtin/game/chatcommands.lua | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/builtin/game/chatcommands.lua b/builtin/game/chatcommands.lua
index 9557a27c4..6b4ca0d12 100644
--- a/builtin/game/chatcommands.lua
+++ b/builtin/game/chatcommands.lua
@@ -861,7 +861,8 @@ core.register_chatcommand("clearobjects", {
 			return false, "Invalid usage, see /help clearobjects."
 		end
 
-		core.log("action", name .. " clears all objects.")
+		core.log("action", name .. " clears all objects ("
+				.. options.mode .. " mode).")
 		core.chat_send_all("Clearing all objects.  This may take long."
 				.. "  You may experience a timeout.  (by "
 				.. name .. ")")
-- 
GitLab