# HG changeset patch # User Sean Egan # Date 1032454037 0 # Node ID f4cec5d41a897eff10a3c36a50e695fcaa61084b # Parent 424f38c56787b8501b0470c6f03258896da2c23a [gaim-migrate @ 3610] crashfix. committer: Tailor Script diff -r 424f38c56787 -r f4cec5d41a89 src/protocols/irc/irc.c --- a/src/protocols/irc/irc.c Wed Sep 18 17:06:27 2002 +0000 +++ b/src/protocols/irc/irc.c Thu Sep 19 16:47:17 2002 +0000 @@ -914,7 +914,7 @@ char *errmsg1 = strrchr(text, ':'); g_snprintf(errmsg, sizeof(errmsg), "IRC Error %d", n); if (errmsg) - do_error_dialog(errmsg, errmsg1+1, GAIM_ERROR); + do_error_dialog(errmsg, errmsg1 ? errmsg1+1 : NULL, GAIM_ERROR); } break; }