Comparison

plugins/mod_dialback.lua @ 11679:d9499b7bcd54

mod_dialback: Tweak wording in a comment
author Kim Alvefur <zash@zash.se>
date Tue, 13 Jul 2021 23:27:26 +0200
parent 11560:3bbb1af92514
child 12977:74b9e05af71e
comparison
equal deleted inserted replaced
11678:f90a337d81a8 11679:d9499b7bcd54
75 75
76 module:hook("stanza/jabber:server:dialback:result", function(event) 76 module:hook("stanza/jabber:server:dialback:result", function(event)
77 local origin, stanza = event.origin, event.stanza; 77 local origin, stanza = event.origin, event.stanza;
78 78
79 if origin.type == "s2sin_unauthed" or origin.type == "s2sin" then 79 if origin.type == "s2sin_unauthed" or origin.type == "s2sin" then
80 -- he wants to be identified through dialback 80 -- They want to be identified through dialback
81 -- We need to check the key with the Authoritative server 81 -- We need to check the key with the Authoritative server
82 local attr = stanza.attr; 82 local attr = stanza.attr;
83 if not attr.to or not attr.from then 83 if not attr.to or not attr.from then
84 origin.log("debug", "Missing Dialback addressing (from=%q, to=%q)", attr.from, attr.to); 84 origin.log("debug", "Missing Dialback addressing (from=%q, to=%q)", attr.from, attr.to);
85 origin:close("improper-addressing"); 85 origin:close("improper-addressing");