]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/socketengine_ports.cpp
Split up spanningtree some more, the filenames should be more intuitive so that devel...
[user/henk/code/inspircd.git] / src / socketengine_ports.cpp
index 869e0a6fb3876b8f406c170f4e4d21f1df2ce517..352b730620fbc7d300eaadbe9e16eeffaef4189c 100644 (file)
@@ -26,14 +26,14 @@ PortsEngine::PortsEngine(InspIRCd* Instance) : SocketEngine(Instance)
                ServerInstance->Log(SPARSE,"ERROR: This is a fatal error, exiting now.");
                printf("ERROR: Could not initialize socket engine: %s\n", strerror(errno));
                printf("ERROR: This is a fatal error, exiting now.\n");
-               InspIRCd::Exit(EXIT_STATUS_SOCKETENGINE);
+               ServerInstance->Exit(EXIT_STATUS_SOCKETENGINE);
        }
        CurrentSetSize = 0;
 }
 
 PortsEngine::~PortsEngine()
 {
-       close(EngineHandle);
+       this->Close(EngineHandle);
 }
 
 bool PortsEngine::AddFd(EventHandler* eh)