summaryrefslogtreecommitdiff
path: root/src/echar/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-13 22:53:12 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-13 22:53:12 +0300
commitf8b3342f690816022d26038389431002e9cf3648 (patch)
tree1553caed418b7fc6496b196eb70894e460bec0e5 /src/echar/init.c
parenta38eb2a333972481d99c5fe0c152ba6d59fba839 (diff)
downloadevol-hercules-f8b3342f690816022d26038389431002e9cf3648.tar.gz
evol-hercules-f8b3342f690816022d26038389431002e9cf3648.tar.bz2
evol-hercules-f8b3342f690816022d26038389431002e9cf3648.tar.xz
evol-hercules-f8b3342f690816022d26038389431002e9cf3648.zip
Fix and restore client version in login and char server.
Diffstat (limited to 'src/echar/init.c')
-rw-r--r--src/echar/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/echar/init.c b/src/echar/init.c
index 0fa8c62..6fdd887 100644
--- a/src/echar/init.c
+++ b/src/echar/init.c
@@ -65,9 +65,11 @@ HPExport void plugin_init (void)
addHookPre("chr->parse_char_create_new_char", echar_parse_char_create_new_char);
addHookPre("chr->creation_failed", echar_creation_failed);
+ addHookPre("chr->parse_char_connect", echar_parse_char_connect_pre);
addHookPost("chr->mmo_char_send099d", echar_mmo_char_send099d);
addHookPost("chr->mmo_char_send_characters", echar_mmo_char_send_characters);
+ addHookPost("chr->parse_char_connect", echar_parse_char_connect_post);
}
HPExport void server_preinit (void)