From: pk910 Date: Sun, 12 Feb 2012 16:27:20 +0000 (+0100) Subject: fixed crash in modules.c X-Git-Tag: v5.3~12 X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=commitdiff_plain;h=66e75791a93a356c981d6f09016d854ac906d9f2 fixed crash in modules.c --- 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++; }