changeset 3628:2444fb3b05b7

mod_csi_muc_priorities: Signal unimportance (thanks tmolitor) The short version of this module would be `return priorities[room]`, but the `false` case got lost somewhere along the way.
author Kim Alvefur <zash@zash.se>
date Thu, 04 Jul 2019 08:46:26 +0200
parents 9639c493f4b9
children cfe0907808e1
files mod_csi_muc_priorities/mod_csi_muc_priorities.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_csi_muc_priorities/mod_csi_muc_priorities.lua	Mon Jul 01 18:50:42 2019 +0200
+++ b/mod_csi_muc_priorities/mod_csi_muc_priorities.lua	Thu Jul 04 08:46:26 2019 +0200
@@ -35,6 +35,9 @@
 				-- fallback if no mod_track_muc_joins
 				return true;
 			end
+
+			-- Unimportant and no mention
+			return false;
 		end
 	end
 end);