]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/inspircd.cpp
Give feedback to remote users
[user/henk/code/inspircd.git] / src / inspircd.cpp
index ac5ee4510050aa69190aa986cbcae0ec12cc8cf2..1d8ce762517fd4aed0f873c2ac2503d63efbb67b 100644 (file)
@@ -95,7 +95,7 @@ void InspIRCd::Cleanup()
        /* Close all client sockets, or the new process inherits them */
        for (std::vector<User*>::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();
        }