summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-08-09 02:19:17 +0200
committerHaru <haru@dotalux.com>2015-08-15 00:51:43 +0200
commit74aab882677d4e6ada440232e73b6095c92da407 (patch)
tree5a802619f76611af4a68ef61ccc7620418904726 /src/char
parenta5f8662606021935e4de8a0540c938896dd4f269 (diff)
downloadhercules-74aab882677d4e6ada440232e73b6095c92da407.tar.gz
hercules-74aab882677d4e6ada440232e73b6095c92da407.tar.bz2
hercules-74aab882677d4e6ada440232e73b6095c92da407.tar.xz
hercules-74aab882677d4e6ada440232e73b6095c92da407.zip
Enabled HPMDataCheck for login and char servers
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/char')
-rw-r--r--src/char/HPMchar.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/char/HPMchar.c b/src/char/HPMchar.c
index 2d4c570d7..b1ff72628 100644
--- a/src/char/HPMchar.c
+++ b/src/char/HPMchar.c
@@ -8,7 +8,6 @@
#include "common/HPM.h"
#include "common/cbasetypes.h"
-#if 0 // TODO (HPMDataCheck is disabled for the time being)
#include "char/char.h"
#include "char/geoip.h"
#include "char/inter.h"
@@ -47,7 +46,6 @@
// HPMDataCheck comes after all the other includes
#include "common/HPMDataCheck.h"
-#endif
bool HPM_char_grabHPData(struct HPDataOperationStorage *ret, enum HPluginDataTypes type, void *ptr) {
/* record address */
@@ -62,15 +60,9 @@ void HPM_char_plugin_load_sub(struct hplugin *plugin) {
}
void HPM_char_do_init(void) {
-#if 0 // TODO (HPMDataCheck is disabled for the time being)
HPM->datacheck_init(HPMDataCheck, HPMDataCheckLen, HPMDataCheckVer);
-#else
- HPM->DataCheck = NULL;
-#endif
}
void HPM_char_do_final(void) {
-#if 0 // TODO (HPMDataCheck is disabled for the time being)
HPM->datacheck_final();
-#endif
}