# HG changeset patch # User Daniel Atallah # Date 1106891259 0 # Node ID 6ef7be688140e5898f2978bbe9b5e33f2cbb1029 # Parent 522cd02f235f85714027ce33917d995a0de12ac3 [gaim-migrate @ 11926] This fixes bug 1109491, and others (crash on IRC part). committer: Tailor Script diff -r 522cd02f235f -r 6ef7be688140 src/protocols/irc/msgs.c --- a/src/protocols/irc/msgs.c Fri Jan 28 05:01:24 2005 +0000 +++ b/src/protocols/irc/msgs.c Fri Jan 28 05:47:39 2005 +0000 @@ -780,7 +780,8 @@ nick = irc_mask_nick(from); if (!gaim_utf8_strcasecmp(nick, gaim_connection_get_display_name(gc))) { msg = g_strdup_printf(_("You have parted the channel%s%s"), - (args[1] && *args[1]) ? ": " : "", args[1]); + (args[1] && *args[1]) ? ": " : "", + (args[1] && *args[1]) ? args[1] : ""); gaim_conv_chat_write(GAIM_CONV_CHAT(convo), args[0], msg, GAIM_MESSAGE_SYSTEM, time(NULL)); g_free(msg); serv_got_chat_left(gc, gaim_conv_chat_get_id(GAIM_CONV_CHAT(convo)));