From 0f979321b66dd31def3ee900a4b135222ac7f2ba Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 14 Dec 2005 13:11:19 +0000 Subject: Added config_f to serverconfig, UNTESTED git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2402 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/userprocess.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/userprocess.cpp') diff --git a/src/userprocess.cpp b/src/userprocess.cpp index 86a03cca1..055dc2075 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -82,8 +82,6 @@ extern user_hash clientlist; extern chan_hash chanlist; extern whowas_hash whowas; -extern std::stringstream config_f; - void ProcessUser(userrec* cu) { int result = EAGAIN; @@ -378,9 +376,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_f); count++) + for (int count = 0; count < ConfValueEnum("module",&Config->config_f); count++) { - ConfValue("module","name",count,configToken,&config_f); + ConfValue("module","name",count,configToken,&Config->config_f); printf("Loading module... \033[1;32m%s\033[0m\n",configToken); if (!LoadModule(configToken)) { -- cgit v1.2.3