summaryrefslogtreecommitdiff
path: root/src/char/char.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-23 02:20:03 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-23 02:20:03 +0300
commit371293407ca9937a03942a2f8e32f2eb7c87940c (patch)
tree3cc7f056d64216bd144daabfb774db7e7836cef1 /src/char/char.c
parentab9362782312ad81ef1c1d47dcac464607a710a2 (diff)
downloadevol-hercules-371293407ca9937a03942a2f8e32f2eb7c87940c.tar.gz
evol-hercules-371293407ca9937a03942a2f8e32f2eb7c87940c.tar.bz2
evol-hercules-371293407ca9937a03942a2f8e32f2eb7c87940c.tar.xz
evol-hercules-371293407ca9937a03942a2f8e32f2eb7c87940c.zip
Fix hookStop usage.
Diffstat (limited to 'src/char/char.c')
-rw-r--r--src/char/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c
index d852f21..ffb093f 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -26,8 +26,8 @@ void echar_parse_char_login_map_server(int *fd)
const char *const ip = ip2str(ipl, NULL);
if (!checkAllowedIp(inter_server_ip, ip))
{
- hookStop();
ShowNotice("Connection of the map-server from ip %s REFUSED.\n", ip);
chr->login_map_server_ack(*fd, 3);
+ hookStop();
}
}