aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua5
1 files changed, 0 insertions, 5 deletions
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)