From ed340a63aadb51905d954b1bdc9344993e345b45 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 5 Aug 2016 05:01:58 +0200 Subject: Fix crash when using unknown groups --- init.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index da6c0e2..736f2c1 100644 --- a/init.lua +++ b/init.lua @@ -50,7 +50,11 @@ local groups_to_string = function(grouptable, filter) end local group_to_string = function(groupname) - return groupdefs[groupname] + if groupdefs[groupname] ~= nil then + return groupdefs[groupname] + else + return groupname + end end local burntime_to_text = function(burntime) -- cgit v1.2.3