fixed crash in modules.c
authorpk910 <philipp@zoelle1.de>
Sun, 12 Feb 2012 16:27:20 +0000 (17:27 +0100)
committerpk910 <philipp@zoelle1.de>
Sun, 12 Feb 2012 16:27:20 +0000 (17:27 +0100)
src/modules.c

index 064d84f64a67192b2358af4a2d747f1a1c99e67e..dc3f59842aec364da536a1c144de5b4595bdf274 100644 (file)
@@ -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++;
     }