diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-07-05 01:57:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-07-05 01:57:52 +0300 |
commit | 7eaba97f02e18d8610ea004851ab2ec8b8edeebb (patch) | |
tree | 12bf9a8e1cd1b2e5813bb8985b70febf463dfc53 /src/echar/char.c | |
parent | ebff0ef78313b1090b2efa3a8d64d5493a9a5aed (diff) | |
download | plugin-7eaba97f02e18d8610ea004851ab2ec8b8edeebb.tar.gz plugin-7eaba97f02e18d8610ea004851ab2ec8b8edeebb.tar.bz2 plugin-7eaba97f02e18d8610ea004851ab2ec8b8edeebb.tar.xz plugin-7eaba97f02e18d8610ea004851ab2ec8b8edeebb.zip |
Remove inter server ip check because it moving to upstream.
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 |