summaryrefslogtreecommitdiff
path: root/src/elogin/parse.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-07-05 01:57:52 +0300
committerAndrei Karas <akaras@inbox.ru>2015-07-05 01:57:52 +0300
commit7eaba97f02e18d8610ea004851ab2ec8b8edeebb (patch)
tree12bf9a8e1cd1b2e5813bb8985b70febf463dfc53 /src/elogin/parse.c
parentebff0ef78313b1090b2efa3a8d64d5493a9a5aed (diff)
downloadevol-hercules-7eaba97f02e18d8610ea004851ab2ec8b8edeebb.tar.gz
evol-hercules-7eaba97f02e18d8610ea004851ab2ec8b8edeebb.tar.bz2
evol-hercules-7eaba97f02e18d8610ea004851ab2ec8b8edeebb.tar.xz
evol-hercules-7eaba97f02e18d8610ea004851ab2ec8b8edeebb.zip
Remove inter server ip check because it moving to upstream.
Diffstat (limited to 'src/elogin/parse.c')
-rw-r--r--src/elogin/parse.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/elogin/parse.c b/src/elogin/parse.c
index 8f62e9f..3a015d1 100644
--- a/src/elogin/parse.c
+++ b/src/elogin/parse.c
@@ -14,7 +14,6 @@
#include "login/account.h"
#include "login/login.h"
-#include "ecommon/ip.h"
#include "elogin/config.h"
#include "elogin/md5calc.h"
#include "elogin/parse.h"
@@ -141,18 +140,6 @@ void elogin_parse_client_login2(int fd)
return;
}
-void elogin_parse_request_connection(int *fd, struct login_session_data* sd, const char *const ip)
-{
- if (!inter_server_ip || !ip)
- return;
- if (!checkAllowedIp(inter_server_ip, ip))
- {
- hookStop();
- login->char_server_connection_status(*fd, sd, 3);
- ShowNotice("Connection of the char-server from ip %s REFUSED.\n", ip);
- }
-}
-
void elogin_parse_ping(int *fd, struct login_session_data* sd)
{
RFIFOSKIP(*fd, 26);