mod_cloud_notify: Fix bug in prosody 0.9
authortmolitor <thilo@eightysoft.de>
Sun, 08 Mar 2020 20:00:23 +0100
changeset 3944 675726ab06d3
parent 3943 a6b3b41a116c
child 3945 6d1ec8099315
mod_cloud_notify: Fix bug in prosody 0.9
mod_cloud_notify/mod_cloud_notify.lua
--- 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