Browse files

notification needs to be returned

  • Loading branch information...
1 parent a413841 commit 7f155e6b34f7673f324003d320584d9be8176b73 @dodo committed Nov 4, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 notifications/init.lua
View
6 notifications/init.lua
@@ -23,9 +23,11 @@ module("uzful.notifications")
data = {}
function patch()
- local notification = naughty.notify
+ local notify = naughty.notify
naughty.notify = function (args)
- update(notification(args), args)
+ local notification = notify(args)
+ update(notification, args)
+ return notification
end
end

0 comments on commit 7f155e6

Please sign in to comment.