diff -r 1a48381c7413 -r f2022d6c7033 src/buddy_chat.c --- a/src/buddy_chat.c Thu Apr 19 03:53:23 2001 +0000 +++ b/src/buddy_chat.c Thu Apr 19 03:55:12 2001 +0000 @@ -608,7 +608,12 @@ gtk_widget_show(list_item); if (display_options & OPT_DISP_CHAT_LOGON) { - g_snprintf(tmp, sizeof(tmp), _("%s is now known as %s"), old, new); + if (display_options & OPT_DISP_SHOW_TIME) + g_snprintf(tmp, sizeof(tmp), + _("(%s) %s is now known as %s."), + date(), old, new); + else + g_snprintf(tmp, sizeof(tmp), _("%s is now known as %s"), old, new); write_to_conv(b, tmp, WFLAG_SYSTEM, NULL); } } @@ -651,7 +656,12 @@ play_sound(CHAT_LEAVE); if (display_options & OPT_DISP_CHAT_LOGON) { - g_snprintf(tmp, sizeof(tmp), _("%s left the room."), buddy); + if (display_options & OPT_DISP_SHOW_TIME) + g_snprintf(tmp, sizeof(tmp), + _("(%s) %s left the room."), + date(), buddy); + else + g_snprintf(tmp, sizeof(tmp), _("%s left the room."), buddy); write_to_conv(b, tmp, WFLAG_SYSTEM, NULL); } }