Calling naughty.notify without specifing module
From 55eb706b698c3b0c59559eff342d6ee59ec9e3f3 Mon Sep 17 00:00:00 2001 From: Arvydas Sidorenko <asido4@gmail.com> Date: Sun, 17 Jun 2012 15:11:01 +0200 Subject: [PATCH] Calling naughty.notify without specifing module Lua 5.2 port bug, which shows up on notify-send Signed-off-by: Arvydas Sidorenko <asido4@gmail.com> Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
ce9932f17f
commit
1cef64a9c8
|
@ -561,7 +561,7 @@ if capi.dbus then
|
||||||
if expire and expire > -1 then
|
if expire and expire > -1 then
|
||||||
args.timeout = expire / 1000
|
args.timeout = expire / 1000
|
||||||
end
|
end
|
||||||
local id = notify(args).id
|
local id = naughty.notify(args).id
|
||||||
return "u", id
|
return "u", id
|
||||||
end
|
end
|
||||||
return "u", "0"
|
return "u", "0"
|
||||||
|
|
Loading…
Reference in New Issue