X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fserver.cpp;h=08534897688e79666f31b2f231a234887180d900;hb=7c55dfc7887b2ca91e4ebdf9f2733de8adb56e18;hp=e5546654eec6372a180f3f74e34c7d73296b27ce;hpb=de25d946733f774e3a5b53a58438a9c92af0acbe;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/server.cpp b/src/server.cpp index e5546654e..085348976 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -44,6 +44,7 @@ void InspIRCd::Exit(int status) this->SendError("Exiting with status " + ConvToStr(status) + " (" + std::string(ExitCodes[status]) + ")"); this->Cleanup(); delete this; + ServerInstance = NULL; } exit (status); }