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 --- src/userprocess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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