# HG changeset patch # User Matthew Wild # Date 1531856276 -3600 # Node ID df18f83985488cd1e8c7e00b57b6922fb2e2ab2b # Parent 37e287113a8d6837269b7df561e5e4066035a50f MUC: Fix another logic inversion () diff -r 37e287113a8d -r df18f8398548 plugins/muc/muc.lib.lua --- a/plugins/muc/muc.lib.lua Tue Jul 17 19:32:36 2018 +0100 +++ b/plugins/muc/muc.lib.lua Tue Jul 17 20:37:56 2018 +0100 @@ -1132,7 +1132,7 @@ local decline = stanza:get_child("x", "http://jabber.org/protocol/muc#user"):get_child("decline"); local reason = decline:get_child_text("reason") or ""; stanza:tag("body") - :text(decline.attr.from.." declined your invite to the room "..room.jid..(reason == "" and (" ("..reason..")") or "")) + :text(decline.attr.from.." declined your invite to the room "..room.jid..(reason ~= "" and (" ("..reason..")") or "")) :up(); end end);