bat: rem nil value fixed

This commit is contained in:
luke bonham 2013-09-14 14:15:57 +02:00 committed by copycat-killer
parent 304773ead1
commit 0f92560ca1
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ local function worker(args)
ontop = true,
replaces_id = bat.id
}).id
elseif bat.perc <= 15
elseif bat_now.perc <= 15
then
bat.id = naughty.notify({
text = "plug the cable",