From 4dad2e360c1c464feef9a8aaff6e96a7636c54b7 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Sun, 14 Mar 2010 03:37:40 +0100 Subject: API: missing warg should not break awesome --- widgets/mboxc.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'widgets/mboxc.lua') 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 } -- cgit v1.2.3