mod_cloud_notify: fix typo (used || instead of or)
authortmolitor <thilo@eightysoft.de>
Mon, 01 Jul 2019 18:50:42 +0200
changeset 3631 9639c493f4b9
parent 3630 c84bbf36c878
child 3632 2444fb3b05b7
mod_cloud_notify: fix typo (used || instead of or)
mod_cloud_notify/mod_cloud_notify.lua
--- a/mod_cloud_notify/mod_cloud_notify.lua	Mon Jul 01 18:49:24 2019 +0200
+++ b/mod_cloud_notify/mod_cloud_notify.lua	Mon Jul 01 18:50:42 2019 +0200
@@ -583,7 +583,7 @@
 
 local function send_ping(event)
 	local user = event.user;
-	local push_services = event.push_services || push_store:get(user);
+	local push_services = event.push_services or push_store:get(user);
 	handle_notify_request(nil, user, push_services, true);
 end
 -- can be used by other modules to ping one or more (or all) push endpoints