Changeset

3940:675726ab06d3

mod_cloud_notify: Fix bug in prosody 0.9
author tmolitor <thilo@eightysoft.de>
date Sun, 08 Mar 2020 20:00:23 +0100
parents 3939:a6b3b41a116c
children 3941:6d1ec8099315
files mod_cloud_notify/mod_cloud_notify.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_cloud_notify/mod_cloud_notify.lua	Sun Mar 08 19:59:49 2020 +0100
+++ b/mod_cloud_notify/mod_cloud_notify.lua	Sun Mar 08 20:00:23 2020 +0100
@@ -101,7 +101,7 @@
 	end);
 	if timer and timer.stop then return timer; end		-- new prosody api includes stop() function
 	return {
-		stop = function () stopped = true end;
+		stop = function(self) stopped = true end;
 		timer;
 	};
 end