summaryrefslogtreecommitdiff
path: root/src/userprocess.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 13:11:19 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 13:11:19 +0000
commit0f979321b66dd31def3ee900a4b135222ac7f2ba (patch)
tree644173f4172daad8d925f23ca7415f9712273071 /src/userprocess.cpp
parent7a17273ec03afb3f5caa0e4b6fe3473cf09711d4 (diff)
Added config_f to serverconfig, UNTESTED
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2402 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/userprocess.cpp')
-rw-r--r--src/userprocess.cpp6
1 files changed, 2 insertions, 4 deletions
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))
{