summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 14:05:21 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 14:05:21 +0000
commit7bef53268e05fd6fdff652c37df885b95c946370 (patch)
tree016fbc71d8a658f6451e06ded2239e4f0e5ff2d6 /src
parent14c612eef9aeb4610d45e7a7f59eb19ce5cb4ab4 (diff)
Moved classes out of inspircd.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2409 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index b0fbed667..577b348e2 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -101,7 +101,6 @@ whowas_hash whowas;
command_table cmdlist;
address_cache IP;
-ClassVector Classes;
servernamelist servernames;
int boundPortCount = 0;
@@ -1072,7 +1071,7 @@ void AddClient(int socket, char* host, int port, bool iscached, char* ip)
long class_sqmax = 262144; // 256kb
long class_rqmax = 4096; // 4k
- for (ClassVector::iterator i = Classes.begin(); i != Classes.end(); i++)
+ for (ClassVector::iterator i = Config->Classes.begin(); i != Config->Classes.end(); i++)
{
if (match(clientlist[tempnick]->host,i->host) && (i->type == CC_ALLOW))
{