aboutsummaryrefslogtreecommitdiff
path: root/widgets/raid.lua
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/raid.lua')
-rw-r--r--widgets/raid.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/widgets/raid.lua b/widgets/raid.lua
index c1b7e02..e236d11 100644
--- a/widgets/raid.lua
+++ b/widgets/raid.lua
@@ -16,7 +16,8 @@ local string = {
-- Raid: provides state information for a requested RAID array
-module("vicious.widgets.raid")
+-- vicious.widgets.raid
+local raid = {}
-- Initialize function tables
@@ -54,4 +55,4 @@ local function worker(format, warg)
end
-- }}}
-setmetatable(_M, { __call = function(_, ...) return worker(...) end })
+return setmetatable(raid, { __call = function(_, ...) return worker(...) end })