]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/userprocess.cpp
Add strerror(errno) to port bind failure on TreeSocket
[user/henk/code/inspircd.git] / src / userprocess.cpp
index b065c49fb51646b157b55e3700b314f8a01d002b..c6a34561b4bc0048e23178b3f1a39bafa6c21be2 100644 (file)
@@ -56,8 +56,6 @@ void InspIRCd::ProcessUser(userrec* cu)
                result = cu->ReadData(ReadBuffer, sizeof(ReadBuffer));
        }
 
-       this->Log(DEBUG,"Read result: %d",result);
-
        if ((result) && (result != -EAGAIN))
        {
                userrec *current;
@@ -203,7 +201,6 @@ void InspIRCd::ProcessUser(userrec* cu)
 
                if ((result == -1) && (errno != EAGAIN) && (errno != EINTR))
                {
-                       this->Log(DEBUG,"killing: %s",cu->nick);
                        cu->SetWriteError(strerror(errno));
                        return;
                }
@@ -217,7 +214,6 @@ void InspIRCd::ProcessUser(userrec* cu)
        else if (result == 0)
        {
                cu->SetWriteError("Client exited");
-               this->Log(DEBUG,"Bailing from client exit");
                return;
        }
 }
@@ -256,7 +252,6 @@ void InspIRCd::DoBackgroundUserStuff(time_t TIME)
                                 */
                                if ((TIME > curr->timeout) && (curr->registered != REG_ALL))
                                {
-                                       this->Log(DEBUG,"InspIRCd: registration timeout: %s",curr->nick);
                                        GlobalGoners.AddItem(curr,"Registration timeout");
                                        continue;
                                }
@@ -286,7 +281,6 @@ void InspIRCd::DoBackgroundUserStuff(time_t TIME)
        
                                if ((curr->dns_done) && (curr->registered == REG_NICKUSER) && (ready))
                                {
-                                       this->Log(DEBUG,"dns done, registered=3, and modules ready, OK");
                                        curr->FullConnect(&GlobalGoners);
                                        continue;
                                }