# HG changeset patch # User Matthew Wild # Date 1536058661 -3600 # Node ID 37b7cf3470f1ca724a2756b6627b9b41df53c029 # Parent 9db9e37610b722ab67e44f6113289e7badfaac77 MUC: Move comment for clarity diff -r 9db9e37610b7 -r 37b7cf3470f1 plugins/muc/register.lib.lua --- a/plugins/muc/register.lib.lua Sat Aug 18 13:48:38 2018 +0200 +++ b/plugins/muc/register.lib.lua Tue Sep 04 11:57:41 2018 +0100 @@ -161,8 +161,8 @@ 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