Mercurial > pidgin.yaz
diff src/protocols/irc/msgs.c @ 8872:07404dc25af8
[gaim-migrate @ 9640]
This apparently fixes an IRC crasher under some conditions
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Tue, 04 May 2004 16:29:00 +0000 |
parents | 2f505651ac03 |
children | 0c435a36b5bf |
line wrap: on
line diff
--- a/src/protocols/irc/msgs.c Tue May 04 16:15:49 2004 +0000 +++ b/src/protocols/irc/msgs.c Tue May 04 16:29:00 2004 +0000 @@ -390,7 +390,8 @@ gaim_connection_set_state(gc, GAIM_CONNECTED); irc_blist_timeout(irc); - irc->timer = gaim_timeout_add(45000, (GSourceFunc)irc_blist_timeout, (gpointer)irc); + if (!irc->timer) + irc->timer = gaim_timeout_add(45000, (GSourceFunc)irc_blist_timeout, (gpointer)irc); } void irc_msg_nochan(struct irc_conn *irc, const char *name, const char *from, char **args)