diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-17 17:07:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-17 17:07:52 +0300 |
commit | 71e2739be2e5d44ef8e7899c7e6beb274b7b517d (patch) | |
tree | c20adc1584d001b6831af9c614ab797ce0094b36 /src/char | |
parent | aa9464281141d0fe098285e0a32ca33d852c0552 (diff) | |
download | plugin-71e2739be2e5d44ef8e7899c7e6beb274b7b517d.tar.gz plugin-71e2739be2e5d44ef8e7899c7e6beb274b7b517d.tar.bz2 plugin-71e2739be2e5d44ef8e7899c7e6beb274b7b517d.tar.xz plugin-71e2739be2e5d44ef8e7899c7e6beb274b7b517d.zip |
Use all common interface initialisation in all servers.
Diffstat (limited to 'src/char')
-rw-r--r-- | src/char/init.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/char/init.c b/src/char/init.c index 5482afc..6734d45 100644 --- a/src/char/init.c +++ b/src/char/init.c @@ -11,6 +11,8 @@ #include "../../../common/socket.h" #include "../../../common/strlib.h" +#include "common/interfaces.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 = @@ -23,7 +25,7 @@ HPExport struct hplugin_info pinfo = HPExport void plugin_init (void) { - iMalloc = GET_SYMBOL("iMalloc"); + interfaces_init_common(); } HPExport void server_preinit (void) |