diff options
-rw-r--r-- | include/inspircd.h | 2 | ||||
-rw-r--r-- | src/userprocess.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index fb978f704..dd994f0fc 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -42,7 +42,7 @@ #include "inspircd_util.h" #include "users.h" #include "channels.h" -#include "sockets.h" +#include "socket.h" // some misc defines diff --git a/src/userprocess.cpp b/src/userprocess.cpp index fd1976a22..c156a99fe 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -376,7 +376,7 @@ void LoadAllModules() { Config->ConfValue("module","name",count,configToken,&Config->config_f); printf("Loading module... \033[1;32m%s\033[0m\n",configToken); - if (!LoadModule(configToken)) + if (!ServerInstance->LoadModule(configToken)) { log(DEFAULT,"Exiting due to a module loader error."); printf("\nThere was an error loading a module: %s\n\nYou might want to do './inspircd start' instead of 'bin/inspircd'\n\n",ModuleError()); |