naughty: return nothing, not nil

This is not a valid return value for a D-Bus method.

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2010-06-06 10:38:34 +02:00
parent e4c8c11564
commit e0c259406e
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ if capi.dbus then
if title ~= "" then if title ~= "" then
args.text = title args.text = title
else else
return nil return
end end
end end
local score = 0 local score = 0