summaryrefslogtreecommitdiff
path: root/src/map/irc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/irc.c')
-rw-r--r--src/map/irc.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map/irc.c b/src/map/irc.c
index 908e8220a..46d1c3b95 100644
--- a/src/map/irc.c
+++ b/src/map/irc.c
@@ -48,10 +48,15 @@ int irc_connect_timer(int tid, unsigned int tick, int id, int data)
{
if(irc_si && session[irc_si->fd])
return 0;
+ //Ok, this ShowInfo and printf are a little ugly, but they are meant to
+ //debug just how long the code freezes here. [Skotlex]
+ ShowInfo("(IRC) Connecting to %s... ", irc_ip_str);
irc_fd = make_connection(irc_ip,irc_port);
if(irc_fd > 0){
+ printf("ok\n");
session[irc_fd]->func_parse = irc_parse;
- }
+ } else
+ printf("failed\n");
return 0;
}