aboutsummaryrefslogtreecommitdiff
path: root/widgets/mboxc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/mboxc.lua')
-rw-r--r--widgets/mboxc.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/mboxc.lua b/widgets/mboxc.lua
index c5f694c..6de1066 100644
--- a/widgets/mboxc.lua
+++ b/widgets/mboxc.lua
@@ -16,6 +16,8 @@ module("vicious.widgets.mboxc")
-- {{{ Mbox count widget type
local function worker(format, warg)
+ if not warg then return end
+
-- Initialise counters
local count = { old = 0, total = 0, new = 0 }