diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-23 02:20:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-23 02:20:03 +0300 |
commit | 371293407ca9937a03942a2f8e32f2eb7c87940c (patch) | |
tree | 3cc7f056d64216bd144daabfb774db7e7836cef1 /src/char/char.c | |
parent | ab9362782312ad81ef1c1d47dcac464607a710a2 (diff) | |
download | evol-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.c | 2 |
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(); } } |