diff options
Diffstat (limited to 'src/userprocess.cpp')
-rw-r--r-- | src/userprocess.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/userprocess.cpp b/src/userprocess.cpp index 338d7a1fd..30a601a7a 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -375,9 +375,9 @@ void LoadAllModules() /* We must load the modules AFTER initializing the socket engine, now */ MODCOUNT = -1; char configToken[MAXBUF]; - for (int count = 0; count < ConfValueEnum("module",&Config->config_f); count++) + for (int count = 0; count < Config->ConfValueEnum("module",&Config->config_f); count++) { - ConfValue("module","name",count,configToken,&Config->config_f); + Config->ConfValue("module","name",count,configToken,&Config->config_f); printf("Loading module... \033[1;32m%s\033[0m\n",configToken); if (!LoadModule(configToken)) { |