From: w00t Date: Mon, 28 May 2007 13:08:33 +0000 (+0000) Subject: - Add fix for /stats p support (this->port was not being set for listening inspsocket... X-Git-Tag: v2.0.23~5247 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=c0de6310e272b3821be326c3001bf623f8b75b9f;p=user%2Fhenk%2Fcode%2Finspircd.git - Add fix for /stats p support (this->port was not being set for listening inspsockets, thanks peavey). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7171 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index be2d99a62..2e8d6fd68 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -79,6 +79,7 @@ InspSocket::InspSocket(InspIRCd* SI, const std::string &ipaddr, int aport, bool else { this->state = I_LISTENING; + this->port = aport; if (this->fd > -1) { if (!this->Instance->SE->AddFd(this))