From f5754cbc9c77387adafc6c58b5d46ffa9b5facd3 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 16 Dec 2005 12:32:01 +0000 Subject: Moved SocketEngine* SE into InspIRCd class git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2527 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index 2ad0fd307..c311ffaf3 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -45,7 +45,6 @@ extern std::vector module_sockets; extern int MODCOUNT; extern InspSocket* socket_ref[65535]; extern time_t TIME; -extern SocketEngine* SE; extern userrec* fd_ref_table[65536]; extern serverstats* stats; extern ServerConfig *Config; @@ -381,7 +380,7 @@ void kill_link(userrec *user,const char* r) { IOHookModule->OnRawSocketClose(user->fd); } - SE->DelFd(user->fd); + ServerInstance->SE->DelFd(user->fd); user->CloseSocket(); } @@ -444,7 +443,7 @@ void kill_link_silent(userrec *user,const char* r) { IOHookModule->OnRawSocketClose(user->fd); } - SE->DelFd(user->fd); + ServerInstance->SE->DelFd(user->fd); user->CloseSocket(); } @@ -645,7 +644,7 @@ void AddClient(int socket, char* host, int port, bool iscached, char* ip) } fd_ref_table[socket] = clientlist[tempnick]; local_users.push_back(clientlist[tempnick]); - SE->AddFd(socket,true,X_ESTAB_CLIENT); + ServerInstance->SE->AddFd(socket,true,X_ESTAB_CLIENT); } void FullConnectUser(userrec* user) -- cgit v1.2.3