X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Finspircd.cpp;h=1d8ce762517fd4aed0f873c2ac2503d63efbb67b;hb=5db3290d939509015167b7fdfba5073285051560;hp=053b6aa12093154e5094d22384dc8117233b7953;hpb=dd93ad66c2f4378e6e5e741a1591f8994e9a5470;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 053b6aa12..1d8ce7625 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -11,6 +11,8 @@ * --------------------------------------------------- */ +/* w00t was here. ;p */ + /* $Install: src/inspircd $(BINPATH) */ #include "inspircd.h" #include @@ -93,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(); } @@ -677,7 +679,7 @@ InspIRCd::InspIRCd(int argc, char** argv) int j = 1; for (FailedPortList::iterator i = pl.begin(); i != pl.end(); i++, j++) { - printf("%d.\tIP: %s\tPort: %lu\n", j, i->first.empty() ? "" : i->first.c_str(), (unsigned long)i->second); + printf("%d.\tAddress: %s\tReason: %s\n", j, i->first.empty() ? "" : i->first.c_str(), i->second.c_str()); } }