Fix default naughty preset for dbus notifications

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
André Aparício 2011-02-03 15:21:19 +00:00 committed by Uli Schlachter
parent 4972a280b0
commit 3b0a20ca3b
1 changed files with 1 additions and 1 deletions

View File

@ -499,7 +499,7 @@ end
-- Notify
if capi.dbus then
capi.dbus.connect_signal("org.freedesktop.Notifications", function (data, appname, replaces_id, icon, title, text, actions, hints, expire)
args = { preset = { } }
args = { preset = config.default_preset }
if data.member == "Notify" then
if text ~= "" then
args.text = text