From 0a72dc21002d7956299e7654b5bf0e9890035489 Mon Sep 17 00:00:00 2001 From: richard Date: Fri, 12 Jun 2009 15:54:05 +0200 Subject: [PATCH] Fixed logic mistake when adding modues to log filter. --- src/zr/log.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zr/log.inc b/src/zr/log.inc index 600fefa..251f864 100644 --- a/src/zr/log.inc +++ b/src/zr/log.inc @@ -358,7 +358,7 @@ bool:LogModuleFilterAdd(LogModules:module) LogGetModuleNameString(modulename, sizeof(modulename), module, true); // Check if the module isn't already is listed. - if (FindStringInArray(hLogModuleFilter, modulename) >= 0) + if (FindStringInArray(hLogModuleFilter, modulename) < 0) { // Add module to filter. PushArrayString(hLogModuleFilter, modulename);