diff options
Diffstat (limited to 'src/map/irc.c')
-rw-r--r-- | src/map/irc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/irc.c b/src/map/irc.c index 8760efc11..c5e707dd9 100644 --- a/src/map/irc.c +++ b/src/map/irc.c @@ -351,7 +351,7 @@ void do_init_irc(void) return; if (irc_ip_str[strlen(irc_ip_str)-1] == '\n') irc_ip_str[strlen(irc_ip_str)-1] = '\0'; - irc_ip = resolve_hostbyname(irc_ip_str, NULL, irc_ip_str); + irc_ip = host2ip(irc_ip_str); if (!irc_ip) { ShowError("Unable to resolve %s! Cannot connect to IRC server, disabling irc_bot.\n", irc_ip_str); |