summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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))