Fix: bad indentation
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
This commit is contained in:
parent
5bf4e308cc
commit
d13885cb00
|
@ -53,9 +53,9 @@ local function check_message_otr(event)
|
||||||
|
|
||||||
-- Warn if NO otr is detected and if we've NOT warned before the user.
|
-- Warn if NO otr is detected and if we've NOT warned before the user.
|
||||||
if optional and messaged[session.full_jid] == nil and is_otr == 0 then
|
if optional and messaged[session.full_jid] == nil and is_otr == 0 then
|
||||||
event.origin.send(st.message{ type = "chat", from = module.host, to = event.stanza.attr.from }:tag("body"):text(optional_msg));
|
event.origin.send(st.message{ type = "chat", from = module.host, to = event.stanza.attr.from }:tag("body"):text(optional_msg));
|
||||||
messaged[session.full_jid] = 1
|
messaged[session.full_jid] = 1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Module load entry point.
|
-- Module load entry point.
|
||||||
|
|
Loading…
Reference in New Issue