summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-06 10:58:23 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-06 10:58:23 +0000
commitcf0748219e887e05a264d4b7176436e446d6b674 (patch)
treed86f243adfe2ec9221304ae015b94ff0ee06da52 /src/helperfuncs.cpp
parent1da4da1d6676a9cb58f90359f88ecbc07723029c (diff)
MaxBans -> maxbans
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3494 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 431e34947..4a48d93f1 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -1098,7 +1098,7 @@ chanrec* FindChan(const char* chan)
long GetMaxBans(char* name)
{
- for (std::map<std::string,int>::iterator n = Config->maxbans.begin(); n != Config->MaxBans.end(); n++)
+ for (std::map<std::string,int>::iterator n = Config->maxbans.begin(); n != Config->maxbans.end(); n++)
{
if (match(name,n->first->c_str()))
return atoi(n->second);