# HG changeset patch # User Georg Lukas # Date 1610377868 -3600 # Node ID a7a06c8cea3789b50b857e17c6d010d46e03050b # Parent 9606e7a63a69fa6122e2b5ab248bd2a71c780573 mod_muc_ban_ip: Lua is not C, fix typo diff -r 9606e7a63a69 -r a7a06c8cea37 mod_muc_ban_ip/mod_muc_ban_ip.lua --- a/mod_muc_ban_ip/mod_muc_ban_ip.lua Wed Jan 06 20:49:45 2021 +0100 +++ b/mod_muc_ban_ip/mod_muc_ban_ip.lua Mon Jan 11 16:11:08 2021 +0100 @@ -48,7 +48,7 @@ local to = jid_bare(stanza.attr.to); if ip_bans[ip] and ip_bans[ip][to] then (origin.log or module._log)("debug", "IP banned: %s is banned from %s", ip, to) - if stanza.attr.type != "error" then + if stanza.attr.type ~= "error" then origin.send(st.error_reply(stanza, "auth", "forbidden") :tag("x", { xmlns = xmlns_muc_user }) :tag("status", { code = '301' }));