diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-16 11:47:07 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-16 11:47:07 +0000 |
commit | 092eb69a53d679053b8daee895a7a290a71b2e62 (patch) | |
tree | 207169c6e5c070b86e1dee4f91cbad79132904ca /src/userprocess.cpp | |
parent | 3d433bc7b0074e3c008b2e5d93f219ac23a58174 (diff) |
Moved ModeGrok and Parser into InspIRCd class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2522 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/userprocess.cpp')
-rw-r--r-- | src/userprocess.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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 |