From 66e75791a93a356c981d6f09016d854ac906d9f2 Mon Sep 17 00:00:00 2001 From: pk910 Date: Sun, 12 Feb 2012 17:27:20 +0100 Subject: [PATCH] fixed crash in modules.c --- src/modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules.c b/src/modules.c index 064d84f..dc3f598 100644 --- a/src/modules.c +++ b/src/modules.c @@ -273,7 +273,7 @@ static void unregister_module_hooks(int module_id); void loadModules() { char **modulelist = get_all_fieldnames("modules"); int i = 0; - while(*modulelist[i]) { + while(modulelist[i]) { loadModule(modulelist[i]); i++; } -- 2.20.1