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-13 17:16:26 +0200
commitba3db7c5fb2efb7dc5a12f84dadd66bfcd413681 (patch)
treea9626da06441cf51a8cfb361506fe5b54e1c3aa6 /src/common/HPM.c
parentf638141b258f879fd25a08fc85998adc25991b42 (diff)
downloadhercules-ba3db7c5fb2efb7dc5a12f84dadd66bfcd413681.tar.gz
hercules-ba3db7c5fb2efb7dc5a12f84dadd66bfcd413681.tar.bz2
hercules-ba3db7c5fb2efb7dc5a12f84dadd66bfcd413681.tar.xz
hercules-ba3db7c5fb2efb7dc5a12f84dadd66bfcd413681.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)) {