diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-06 16:41:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-06 16:41:37 +0300 |
commit | 70b2187fc910a5d5cf35fb749e0e303e7d7b494e (patch) | |
tree | d1db87f25f5c69098284615e29950af96c628d48 /src/login/init.c | |
parent | 6fca6921a8047948bdee175ea9fe5d3902e524d5 (diff) | |
download | evol-hercules-70b2187fc910a5d5cf35fb749e0e303e7d7b494e.tar.gz evol-hercules-70b2187fc910a5d5cf35fb749e0e303e7d7b494e.tar.bz2 evol-hercules-70b2187fc910a5d5cf35fb749e0e303e7d7b494e.tar.xz evol-hercules-70b2187fc910a5d5cf35fb749e0e303e7d7b494e.zip |
login: add version packet.
Diffstat (limited to 'src/login/init.c')
-rw-r--r-- | src/login/init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/login/init.c b/src/login/init.c index e729ac8..7ccea44 100644 --- a/src/login/init.c +++ b/src/login/init.c @@ -12,6 +12,8 @@ #include "../../../common/strlib.h" #include "../../../login/login.h" +#include "login/parse.h" + #include "../../../common/HPMDataCheck.h" /* should always be the last file included! (if you don't make it last, it'll intentionally break compile time) */ HPExport struct hplugin_info pinfo = @@ -26,6 +28,8 @@ HPExport struct hplugin_info pinfo = HPExport void plugin_init (void) { /* core interfaces */ iMalloc = GET_SYMBOL("iMalloc"); + + addPacket(0x7530, 22, login_parse_version, hpParse_Login); } HPExport void server_preinit (void) { |