Software /
code /
prosody
Changeset
4847:7a7cc4d98faf
mod_dialback: Fix logic bug - we should have both a to and from at this point
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 11 May 2012 01:54:36 +0100 |
parents | 4846:3bc3498df0a0 |
children | 4848:f7a4920aed6b |
files | plugins/mod_dialback.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_dialback.lua Fri May 11 01:53:32 2012 +0100 +++ b/plugins/mod_dialback.lua Fri May 11 01:54:36 2012 +0100 @@ -91,7 +91,7 @@ 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