diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_dialback.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_dialback.lua b/plugins/mod_dialback.lua index c2392502..3d1fe0e1 100644 --- a/plugins/mod_dialback.lua +++ b/plugins/mod_dialback.lua @@ -91,7 +91,7 @@ module:hook("stanza/jabber:server:dialback:result", function(event) origin.to_host = nameprep(attr.to); end - if not origin.from_host and not origin.to_host then + if not origin.from_host or not origin.to_host then origin.log("debug", "Improper addressing supplied, no to or from?"); origin:close("improper-addressing"); end |