X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Finspircd.cpp;h=1d8ce762517fd4aed0f873c2ac2503d63efbb67b;hb=5750fdaae86e2b1ef4a7ce4db3d02a9d0bf2c2e7;hp=ac5ee4510050aa69190aa986cbcae0ec12cc8cf2;hpb=21bb2f2acf59f1bdf2853908fe82601531068a21;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/inspircd.cpp b/src/inspircd.cpp index ac5ee4510..1d8ce7625 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -95,7 +95,7 @@ void InspIRCd::Cleanup() /* Close all client sockets, or the new process inherits them */ for (std::vector::const_iterator i = this->Users->local_users.begin(); i != this->Users->local_users.end(); i++) { - (*i)->SetWriteError("Server shutdown"); + this->Users->QuitUser((*i), "Server shutdown"); (*i)->CloseSocket(); }