diff options
author | Kim Alvefur <zash@zash.se> | 2018-07-12 02:15:22 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-07-12 02:15:22 +0200 |
commit | 5f236e1cb5996afeca61dabdb426a5a8544d2291 (patch) | |
tree | c508ef07a611cd6fe39edd72d1ea592e77403010 /plugins | |
parent | 636df213c34d261182215ad67b236c84cc59307c (diff) | |
download | prosody-5f236e1cb5996afeca61dabdb426a5a8544d2291.tar.gz prosody-5f236e1cb5996afeca61dabdb426a5a8544d2291.zip |
MUC: Fix stanza reference
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/muc/muc.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index 73c35274..af79563a 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -404,7 +404,7 @@ end, -10); module:hook("muc-occupant-pre-join", function(event) local nick = jid_resource(event.stanza.attr.from); if not nick:find("%S") then - event.origin.send(st.error_reply(stanza, "modify", "not-allowed", "Invisible Nicknames are forbidden")); + event.origin.send(st.error_reply(event.stanza, "modify", "not-allowed", "Invisible Nicknames are forbidden")); return true; end end, 1); |