diff options
Diffstat (limited to 'src/echar/char.c')
-rw-r--r-- | src/echar/char.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/echar/char.c b/src/echar/char.c index fc0fb6d..85c890c 100644 --- a/src/echar/char.c +++ b/src/echar/char.c @@ -13,26 +13,9 @@ #include "common/timer.h" #include "char/char.h" -#include "ecommon/ip.h" #include "echar/char.h" #include "echar/config.h" -void echar_parse_char_login_map_server(int *fd) -{ - if (!inter_server_ip) - return; - - const uint32 ipl = session[*fd]->client_addr; - - const char *const ip = ip2str(ipl, NULL); - if (!checkAllowedIp(inter_server_ip, ip)) - { - ShowNotice("Connection of the map-server from ip %s REFUSED.\n", ip); - chr->login_map_server_ack(*fd, 3); - hookStop(); - } -} - void echar_parse_char_create_new_char(int *fdPtr, struct char_session_data* sd) { // ignore char creation disable option |