summaryrefslogtreecommitdiff
path: root/src/login/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-12 01:13:06 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-12 12:46:05 +0300
commitdf9ba54d7d6c1980a398815d44511b4f606a027f (patch)
treec85d32dd8ee2191df8f3023577e760ffd45cb1bb /src/login/init.c
parentb21ac069afee7f6eeea4acec08710aceb9667919 (diff)
downloadevol-hercules-df9ba54d7d6c1980a398815d44511b4f606a027f.tar.gz
evol-hercules-df9ba54d7d6c1980a398815d44511b4f606a027f.tar.bz2
evol-hercules-df9ba54d7d6c1980a398815d44511b4f606a027f.tar.xz
evol-hercules-df9ba54d7d6c1980a398815d44511b4f606a027f.zip
login: add packet 0x027c for register with email.
Diffstat (limited to 'src/login/init.c')
-rw-r--r--src/login/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/login/init.c b/src/login/init.c
index 2a2d295..03bc2e6 100644
--- a/src/login/init.c
+++ b/src/login/init.c
@@ -29,10 +29,11 @@ HPExport void plugin_init (void)
{
session = GET_SYMBOL("session");
sockt = GET_SYMBOL("sockt");
-
+ strlib = GET_SYMBOL("strlib");
login = GET_SYMBOL("login");
addPacket(0x7530, 22, login_parse_version, hpParse_Login);
+ addPacket(0x027c, 95, elogin_parse_client_login2, hpParse_Login);
addHookPre("login->parse_client_login", elogin_parse_client_login_pre);
}