added IRC Client and RAW pass-through
[TransparentIRC.git] / src / IOEngine_select.c
index 2f32bf04fe9f8eb457bd5c5c5c7dd0f316d04948..e37b10496651c5ece864c18a07c6ff97f898a317 100644 (file)
@@ -96,6 +96,7 @@ static void engine_select_loop(struct timeval *timeout) {
         if(iofd->type == IOTYPE_SERVER || iofd->type == IOTYPE_CLIENT || iofd->type == IOTYPE_STDIN) {
             if(FD_ISSET(iofd->fd, &read_fds) || FD_ISSET(iofd->fd, &write_fds)) {
                 iohandler_events(iofd, FD_ISSET(iofd->fd, &read_fds), FD_ISSET(iofd->fd, &write_fds));
+                continue;
             }
         }
         if(iofd->type == IOTYPE_TIMER || iofd->timeout.tv_sec || iofd->timeout.tv_usec) {