summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 18:34:57 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 18:34:57 +0000
commita50273328b4e736278dfde8db29220dc4bbbfe70 (patch)
tree2d21ceef1ff9572a598265c771298aa169432682
parentd0f0cbea0727e3a3f670a308b173559061a0ca1d (diff)
Tidy tidy
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2443 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--include/inspircd.h2
-rw-r--r--src/userprocess.cpp2
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());