From 3adaf8788b65a84ec4266c6621d30679a95f546d Mon Sep 17 00:00:00 2001 From: ultramage Date: Sun, 6 Jan 2008 14:19:26 +0000 Subject: Modified showmsg code to not attach a timestamp to MSG_NONE-type messages, generated by ShowMessage(). It now works exactly like printf(). Removed/replaced all printf calls in the code. Added a new flag to setting 'console_silent', for filtering debug messages. Silenced the "Broken pipe found" and "Server running in debug mode" messages. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12020 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/irc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/map/irc.c') diff --git a/src/map/irc.c b/src/map/irc.c index 0238225fe..9b1a48c5f 100644 --- a/src/map/irc.c +++ b/src/map/irc.c @@ -55,10 +55,10 @@ int irc_connect_timer(int tid, unsigned int tick, int id, int data) ShowInfo("(IRC) Connecting to %s... ", irc_ip_str); irc_fd = make_connection(irc_ip,irc_port); if(irc_fd > 0){ - printf("ok\n"); + ShowMessage("ok\n"); session[irc_fd]->func_parse = irc_parse; } else - printf("failed\n"); + ShowMessage("failed\n"); return 0; } @@ -298,10 +298,10 @@ void irc_parse_sub(int fd, char *incoming_string) { ShowInfo("IRC: Refreshing User List"); irc_rmnames(); - printf("..."); + ShowMessage("..."); sprintf(send_string,"NAMES %s",irc_channel); irc_send(send_string); - printf("Done\n"); + ShowMessage("Done\n"); } else // Autojoin on kick if((strcmpi(command,"kick")==0)&&(irc_autojoin==1)) -- cgit v1.2.3-70-g09d2