aboutsummaryrefslogtreecommitdiffstats
path: root/src/inspsocket.cpp
diff options
context:
space:
mode:
authorGravatar w00t2007-05-28 13:08:33 +0000
committerGravatar w00t2007-05-28 13:08:33 +0000
commitc0de6310e272b3821be326c3001bf623f8b75b9f (patch)
tree8da2cfba38fc752359e8fdb992ef671ee0da21df /src/inspsocket.cpp
parent- Add server ports to /stats p. This doesn't work properly yet as something i... (diff)
downloadinspircd++-c0de6310e272b3821be326c3001bf623f8b75b9f.tar.gz
inspircd++-c0de6310e272b3821be326c3001bf623f8b75b9f.tar.bz2
inspircd++-c0de6310e272b3821be326c3001bf623f8b75b9f.zip
- 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
Diffstat (limited to 'src/inspsocket.cpp')
-rw-r--r--src/inspsocket.cpp1
1 files changed, 1 insertions, 0 deletions
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))