From 7bef53268e05fd6fdff652c37df885b95c946370 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 14 Dec 2005 14:05:21 +0000 Subject: Moved classes out of inspircd.cpp git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2409 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/inspircd.cpp') 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)) { -- cgit v1.2.3