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
parent 3627:9639c493f4b9
child 3943: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