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 1513f399e1
commit 3dd4cc3226
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ end
-- Notify
if capi.dbus then
capi.dbus.add_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