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)