summaryrefslogtreecommitdiff
path: root/src/char/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-17 17:07:52 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-17 17:07:52 +0300
commit71e2739be2e5d44ef8e7899c7e6beb274b7b517d (patch)
treec20adc1584d001b6831af9c614ab797ce0094b36 /src/char/init.c
parentaa9464281141d0fe098285e0a32ca33d852c0552 (diff)
downloadevol-hercules-71e2739be2e5d44ef8e7899c7e6beb274b7b517d.tar.gz
evol-hercules-71e2739be2e5d44ef8e7899c7e6beb274b7b517d.tar.bz2
evol-hercules-71e2739be2e5d44ef8e7899c7e6beb274b7b517d.tar.xz
evol-hercules-71e2739be2e5d44ef8e7899c7e6beb274b7b517d.zip
Use all common interface initialisation in all servers.
Diffstat (limited to 'src/char/init.c')
-rw-r--r--src/char/init.c4
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)