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:
parent
446a3006a8
commit
dcbee7a64e
8 changed files with 10 additions and 9 deletions
|
@ -411,6 +411,7 @@ int psyc_sendmsg(mixed target, string mc, mixed data, mapping vars,
|
|||
unless (buf) return 0;
|
||||
#endif /* NEW_RENDER */
|
||||
|
||||
// host seems to already be in lower_case
|
||||
if (is_localhost(host)) return send_udp(host, port, buf);
|
||||
PT(("dns_resolve + send_udp %O:%O packet:\n%s", host,port,buf))
|
||||
dns_resolve(host, (: if (stringp($1))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue