diff options
Diffstat (limited to 'src/login/init.c')
-rw-r--r-- | src/login/init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/login/init.c b/src/login/init.c index 92b6af6..9aab37d 100644 --- a/src/login/init.c +++ b/src/login/init.c @@ -31,7 +31,10 @@ HPExport void plugin_init (void) session = GET_SYMBOL("session"); sockt = GET_SYMBOL("sockt"); + login = GET_SYMBOL("login"); + addPacket(0x7530, 22, login_parse_version, hpParse_Login); + addHookPre("login->parse_client_login", elogin_parse_client_login_pre); } HPExport void server_preinit (void) |