mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
let is_localhost() do its lower_case itself.. thx fip
This commit is contained in:
parent
15dd8c0ada
commit
a0cc248e00
15 changed files with 25 additions and 25 deletions
|
@ -661,7 +661,7 @@ int xmpp_sendmsg(mixed target, string mc, mixed data, mapping vars,
|
|||
otarget, o ))
|
||||
// in XMPP this is sufficient since other servers on the same IP
|
||||
// need to have a different domain name
|
||||
} else if (is_localhost(lower_case(u[UHost]))) {
|
||||
} else if (is_localhost(u[UHost])) {
|
||||
unless (u[UUser]) {
|
||||
P0(("Intercepted %O to %O from %O\n", mc, target, source))
|
||||
// 0 makes sendmsg try to relay via xmpp.scheme.psyced.org
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue