irc_outgoing.len += len + 2;
- Con_Printf("[IRC] %lu bytes waiting to be written\n", (unsigned long) irc_outgoing.len);
+ Con_DPrintf("[IRC] %lu bytes waiting to be written\n", (unsigned long) irc_outgoing.len);
}
static ircmessage_t *IRC_AllocMessage(void)
{
int i;
- Con_Printf("[IRC] prefix : %s\n", msg->prefix ? msg->prefix : "");
- Con_Printf("[IRC] command: %s\n", msg->command);
+ Con_DPrintf("[IRC] prefix : %s\n", msg->prefix ? msg->prefix : "");
+ Con_DPrintf("[IRC] command: %s\n", msg->command);
for (i = 0; i < msg->args_num; i++)
- Con_Printf("[IRC] arg %-3d: %s\n", i, msg->args[i]);
+ Con_DPrintf("[IRC] arg %-3d: %s\n", i, msg->args[i]);
}
static void IRC_ProcessMessage(const char *line)
if (read > 0)
{
- Con_Printf("[IRC] Read %d bytes\n", read);
+ Con_DPrintf("[IRC] Read %d bytes\n", read);
irc_incoming.len += read;
IRC_ProcessAllMessages();
}
if (written > 0)
{
- Con_Printf("[IRC] Wrote %d bytes\n", written);
+ Con_DPrintf("[IRC] Wrote %d bytes\n", written);
memmove(irc_outgoing.data, irc_outgoing.data + written, irc_outgoing.len - written);
irc_outgoing.len -= written;
}