diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-09 22:45:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-15 11:47:30 +0300 |
commit | 3d74b710e56443ac2820aa62ad2b4bb103f7a7b9 (patch) | |
tree | 990ac81bab9ba616edf1d354959c82447b6e5f00 | |
parent | 727496b378aa6b249e57031b5dc43f7484419d5f (diff) | |
download | hercules-3d74b710e56443ac2820aa62ad2b4bb103f7a7b9.tar.gz hercules-3d74b710e56443ac2820aa62ad2b4bb103f7a7b9.tar.bz2 hercules-3d74b710e56443ac2820aa62ad2b4bb103f7a7b9.tar.xz hercules-3d74b710e56443ac2820aa62ad2b4bb103f7a7b9.zip |
Allow use all char server interfaces from plugins.
-rw-r--r-- | src/char/char.c | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c index 6bde6a976..0dd7aaa79 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -5871,7 +5871,23 @@ void do_shutdown(void) } void char_hp_symbols(void) { - HPM->share(inter->sql_handle,"sql_handle"); + HPM->share(chr, "chr"); + HPM->share(geoip, "geoip"); + HPM->share(inter_auction, "inter_auction"); + HPM->share(inter_elemental, "inter_elemental"); + HPM->share(inter_guild, "inter_guild"); + HPM->share(inter_homunculus, "inter_homunculus"); + HPM->share(inter_mail, "inter_mail"); + HPM->share(inter_mercenary, "inter_mercenary"); + HPM->share(inter_party, "inter_party"); + HPM->share(inter_pet, "inter_pet"); + HPM->share(inter_quest, "inter_quest"); + HPM->share(inter_storage, "inter_storage"); + HPM->share(inter, "inter"); + HPM->share(loginif, "loginif"); + HPM->share(mapif, "mapif"); + HPM->share(pincode, "pincode"); + HPM->share(inter->sql_handle, "sql_handle"); } int do_init(int argc, char **argv) { |