diff options
author | Haru <haru@dotalux.com> | 2015-08-09 02:19:17 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-08-15 00:51:43 +0200 |
commit | 74aab882677d4e6ada440232e73b6095c92da407 (patch) | |
tree | 5a802619f76611af4a68ef61ccc7620418904726 /src/common/HPM.c | |
parent | a5f8662606021935e4de8a0540c938896dd4f269 (diff) | |
download | hercules-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.c | 2 |
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)) { |