summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_ident.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp
index bf4e66a6c..fda3c9086 100644
--- a/src/modules/m_ident.cpp
+++ b/src/modules/m_ident.cpp
@@ -69,6 +69,8 @@ class RFC1413
bool timeout; // true if we've timed out and should bail
public:
+ // The destructor makes damn sure the socket is freed :)
+
~RFC1413()
{
if (this->fd != -1)
@@ -157,7 +159,6 @@ class RFC1413
switch (this->state)
{
case IDENT_STATE_CONNECT:
- Srv->Log(DEBUG,"*** IDENT IN STATE 1");
uslen = sizeof(sock_us);
themlen = sizeof(sock_them);
if ((getsockname(this->u->fd,(sockaddr*)&sock_us,&uslen) || getpeername(this->u->fd, (sockaddr*)&sock_them, &themlen)))
@@ -177,7 +178,6 @@ class RFC1413
}
break;
case IDENT_STATE_WAITDATA:
- Srv->Log(DEBUG,"*** IDENT IN STATE 2");
nrecv = recv(this->fd,ibuf,sizeof(ibuf),0);
if (nrecv > 0)
{