src/irc.c
changeset 41 7260f61566b5
parent 37 85891f91096c
child 44 f08e8fb2c1da
equal deleted inserted replaced
40:5b7e8dba46a0 41:7260f61566b5
   115             printf ("%10s %s %s :%s\n", "WRITE", message.command, message.user, VERSION_STRING);
   115             printf ("%10s %s %s :%s\n", "WRITE", message.command, message.user, VERSION_STRING);
   116             fprintf (stream, "VERSION :%s\r\n", VERSION_STRING);
   116             fprintf (stream, "VERSION :%s\r\n", VERSION_STRING);
   117         }
   117         }
   118 
   118 
   119         if (strstr (msg, ":Password accepted") != NULL) {
   119         if (strstr (msg, ":Password accepted") != NULL) {
       
   120             break;
       
   121         }
       
   122 
       
   123         if (strstr (msg, ":You are now identified for") != NULL) {
   120             break;
   124             break;
   121         }
   125         }
   122 
   126 
   123         if (strstr (msg, ":You are now logged in.") != NULL) {
   127         if (strstr (msg, ":You are now logged in.") != NULL) {
   124             break;
   128             break;