diff mod_cloud_notify/mod_cloud_notify.lua @ 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 9639c493f4b9
children f5e6368a1c39
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