diff options
Diffstat (limited to 'src/userprocess.cpp')
-rw-r--r-- | src/userprocess.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userprocess.cpp b/src/userprocess.cpp index 837fc2b28..9c26eb343 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -70,7 +70,6 @@ extern time_t OLDTIME; extern std::vector<userrec*> local_users; extern InspIRCd* ServerInstance; -extern SocketEngine* SE; extern serverstats* stats; extern ServerConfig *Config; extern userrec* fd_ref_table[65536]; @@ -258,6 +257,7 @@ void ProcessUser(userrec* cu) bool DoBackgroundUserStuff(time_t TIME) { unsigned int numsockets = module_sockets.size(); + SocketEngine* SE = ServerInstance->SE; for (std::vector<InspSocket*>::iterator a = module_sockets.begin(); a < module_sockets.end(); a++) { InspSocket* s = (InspSocket*)*a; |