From 4ed8c5edb543dff496f9521346ef8217e4dc7c56 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Tue, 4 Sep 2018 11:57:41 +0100 Subject: MUC: Move comment for clarity --- plugins/muc/register.lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/muc/register.lib.lua b/plugins/muc/register.lib.lua index a4e1b802..f9841e06 100644 --- a/plugins/muc/register.lib.lua +++ b/plugins/muc/register.lib.lua @@ -161,8 +161,8 @@ local function handle_register_iq(room, origin, stanza) return true; end - -- Kick any sessions that are not using this nick before we register it if enforce_nick then + -- Kick any sessions that are not using this nick before we register it local required_room_nick = room.jid.."/"..desired_nick; for room_nick, occupant in room:each_occupant() do if occupant.bare_jid == user_jid and room_nick ~= required_room_nick then -- cgit v1.2.3