# HG changeset patch # User Matthew Wild # Date 1593688673 -3600 # Node ID cf9a1c7d558d675ca25bd8aa42637d6d4dfd6eca # Parent 2ede3450abca424da9a0838e583ef8defc6a3fad mod_muc_rai: Don't store/modify existing table to track rooms This was a simple bug that took a while to track down. diff -r 2ede3450abca -r cf9a1c7d558d mod_muc_rai/mod_muc_rai.lua --- a/mod_muc_rai/mod_muc_rai.lua Thu Jul 02 12:09:24 2020 +0100 +++ b/mod_muc_rai/mod_muc_rai.lua Thu Jul 02 12:17:53 2020 +0100 @@ -158,7 +158,7 @@ interested_rooms = {}; end - if not subscribed_users:set(user_jid, interested_rooms) then + if not subscribed_users:set(user_jid, {}) then module:log("warn", "Subscriber limit (%d) reached, rejecting subscription from %s", max_subscribers, user_jid); return nil, "resource-constraint"; end