summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-20 13:57:50 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-20 13:57:50 +0000
commit15228d509a36036af6d8ab1f63f0ccbc0eeb0c3d (patch)
tree39ca64cd2ba2565d3877fdafd5475d0dcba7bd05
parent1e4d37149c3c44a479dc3440a650e433c7f1b9c2 (diff)
Removed some unceccessary debug output
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1135 e03df62e-2008-0410-955e-edbf42e46eb7
-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)
{