From 092eb69a53d679053b8daee895a7a290a71b2e62 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 16 Dec 2005 11:47:07 +0000 Subject: Moved ModeGrok and Parser into InspIRCd class git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2522 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/userprocess.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/userprocess.cpp') diff --git a/src/userprocess.cpp b/src/userprocess.cpp index f800c11d1..837fc2b28 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -73,8 +73,6 @@ extern InspIRCd* ServerInstance; extern SocketEngine* SE; extern serverstats* stats; extern ServerConfig *Config; -extern CommandParser *Parser; - extern userrec* fd_ref_table[65536]; char data[65536]; @@ -207,7 +205,7 @@ void ProcessUser(userrec* cu) userrec* old_comp = fd_ref_table[currfd]; // we're gonna re-scan to check if the nick is gone, after every // command - if it has, we're gonna bail - Parser->ProcessBuffer(sanitized,current); + ServerInstance->Parser->ProcessBuffer(sanitized,current); // look for the user's record in case it's changed... if theyve quit, // we cant do anything more with their buffer, so bail. // there used to be an ugly, slow loop here. Now we have a reference -- cgit v1.2.3