From 22033bae53409d280782aff375f5ceebeaa83c1e Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Wed, 5 Aug 2009 19:20:32 +0200 Subject: Disallow using a string widget type. --- init.lua | 5 ----- 1 file changed, 5 deletions(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 633d9c1..10aaddc 100644 --- a/init.lua +++ b/init.lua @@ -110,11 +110,6 @@ function register(widget, wtype, format, timer, field, padd) reg.timer = 1 end - -- Allow using a string widget type - if type(reg.type) == "string" then - reg.type = widgets[reg.type] - end - -- Register reg object regregister(reg) -- cgit v1.2.3