From 15228d509a36036af6d8ab1f63f0ccbc0eeb0c3d Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 20 Apr 2005 13:57:50 +0000 Subject: Removed some unceccessary debug output git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1135 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_ident.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_ident.cpp') 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) { -- cgit v1.2.3