1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00

thx tg.. is_localhost() was being used very inconsistently

This commit is contained in:
psyc://psyced.org/~lynX 2010-02-26 21:56:20 +01:00
parent 446a3006a8
commit dcbee7a64e
8 changed files with 10 additions and 9 deletions

View file

@ -658,7 +658,7 @@ int xmpp_sendmsg(mixed target, string mc, mixed data, mapping vars,
if (o = targets[tmp]) {
P2(("%O to be delivered on %O\n",
otarget, o ))
} else if (is_localhost(u[UHost])) {
} else if (is_localhost(lower_case(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