if(client_p->localClient->sent_parsed >= allow_read)
break;
+ /* post_registration_delay hack. Don't process any messages from a new client for $n seconds,
+ * to allow network bots to do their thing before channels can be joined.
+ */
+ if (rb_current_time() < client_p->localClient->firsttime + ConfigFileEntry.post_registration_delay)
+ break;
+
dolen = rb_linebuf_get(&client_p->localClient->
buf_recvq, readBuf, READBUF_SIZE,
LINEBUF_COMPLETE, LINEBUF_PARSED);