]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/socketengine_epoll.cpp
Fixed m_saquit to direct the command to the user's server and from there send a QUIT...
[user/henk/code/inspircd.git] / src / socketengine_epoll.cpp
index 732ce1e7761be49d4585ff634d819513d0e4d2c4..3817010937831c6a9f0a05867d647827745cedd0 100644 (file)
@@ -26,14 +26,14 @@ EPollEngine::EPollEngine(InspIRCd* Instance) : SocketEngine(Instance)
                ServerInstance->Log(SPARSE,"ERROR: Your kernel probably does not have the proper features. This is a fatal error, exiting now.");
                printf("ERROR: Could not initialize socket engine: %s\n", strerror(errno));
                printf("ERROR: Your kernel probably does not have the proper features. This is a fatal error, exiting now.\n");
-               InspIRCd::Exit(EXIT_STATUS_SOCKETENGINE);
+               ServerInstance->Exit(EXIT_STATUS_SOCKETENGINE);
        }
        CurrentSetSize = 0;
 }
 
 EPollEngine::~EPollEngine()
 {
-       close(EngineHandle);
+       this->Close(EngineHandle);
 }
 
 bool EPollEngine::AddFd(EventHandler* eh)
@@ -113,7 +113,6 @@ int EPollEngine::DispatchEvents()
        socklen_t codesize;
        int errcode;
        int i = epoll_wait(EngineHandle, events, MAX_DESCRIPTORS, 1000);
-       ServerInstance->Log(DEBUG,"%d events", i);
        for (int j = 0; j < i; j++)
        {
                if (events[j].events & EPOLLHUP)