]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
- Add fix for /stats p support (this->port was not being set for listening inspsocket...
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 28 May 2007 13:08:33 +0000 (13:08 +0000)
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 28 May 2007 13:08:33 +0000 (13:08 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7171 e03df62e-2008-0410-955e-edbf42e46eb7

src/inspsocket.cpp

index be2d99a62c03a9bed3ee33231f0cf8fedffe8300..2e8d6fd68411c4c62437a7f126ba64d2a77e542c 100644 (file)
@@ -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))