summaryrefslogtreecommitdiff
path: root/src/common/HPM.c
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/common/HPM.c
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/common/HPM.c')
-rw-r--r--src/common/HPM.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/HPM.c b/src/common/HPM.c
index 85f3d9e95..d9abdfab7 100644
--- a/src/common/HPM.c
+++ b/src/common/HPM.c
@@ -698,7 +698,7 @@ bool HPM_DataCheck(struct s_HPMDataCheck *src, unsigned int size, int version, c
}
for (i = 0; i < size; i++) {
- if (!(src[i].type|SERVER_TYPE))
+ if (!(src[i].type&SERVER_TYPE))
continue;
if (!strdb_exists(datacheck_db, src[i].name)) {