aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-07-12 02:15:22 +0200
committerKim Alvefur <zash@zash.se>2018-07-12 02:15:22 +0200
commitd56a9a91d1603e81211b3281424a7ac21e80ce57 (patch)
treec508ef07a611cd6fe39edd72d1ea592e77403010 /plugins/muc
parentf52deec93ad9bdb5593af8dd2551719c104f4b75 (diff)
downloadprosody-d56a9a91d1603e81211b3281424a7ac21e80ce57.tar.gz
prosody-d56a9a91d1603e81211b3281424a7ac21e80ce57.zip
MUC: Fix stanza reference
Diffstat (limited to 'plugins/muc')
-rw-r--r--plugins/muc/muc.lib.lua2
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);