summaryrefslogtreecommitdiff
path: root/src/helperfuncs.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/helperfuncs.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/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index eed15dc7b..3a508e9d6 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -56,7 +56,6 @@ extern ServerConfig *Config;
extern time_t TIME;
extern char lowermap[255];
-extern std::stringstream config_f;
static char list[MAXBUF];
extern userrec* fd_ref_table[65536];
@@ -772,12 +771,12 @@ chanrec* FindChan(const char* chan)
long GetMaxBans(char* name)
{
char CM[MAXBUF];
- for (int count = 0; count < ConfValueEnum("banlist",&config_f); count++)
+ for (int count = 0; count < ConfValueEnum("banlist",&Config->config_f); count++)
{
- ConfValue("banlist","chan",count,CM,&config_f);
+ ConfValue("banlist","chan",count,CM,&Config->config_f);
if (match(name,CM))
{
- ConfValue("banlist","limit",count,CM,&config_f);
+ ConfValue("banlist","limit",count,CM,&Config->config_f);
return atoi(CM);
}
}