From 518c179951dea8383eef43a31b02937210c9271d Mon Sep 17 00:00:00 2001 From: Lemongrass3110 Date: Fri, 28 Oct 2016 15:11:08 +0200 Subject: Fixed wrong nullpo check --- src/common/HPM.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/HPM.c b/src/common/HPM.c index 1fad7102f..c84b447e8 100644 --- a/src/common/HPM.c +++ b/src/common/HPM.c @@ -867,7 +867,7 @@ bool hplugins_get_battle_conf(const char *w1, int *value) { int i; - nullpo_retr(w1, value); + nullpo_retr(false, w1); nullpo_retr(false, value); ARR_FIND(0, VECTOR_LENGTH(HPM->config_listeners[HPCT_BATTLE]), i, strcmpi(w1, VECTOR_INDEX(HPM->config_listeners[HPCT_BATTLE], i).key) == 0); -- cgit v1.2.3-70-g09d2