From a50273328b4e736278dfde8db29220dc4bbbfe70 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 14 Dec 2005 18:34:57 +0000 Subject: Tidy tidy git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2443 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspircd.h | 2 +- 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()); -- cgit v1.2.3