src/buddy_chat.c

changeset 1727
1a48381c7413
parent 1692
ff73167542e9
child 1728
f2022d6c7033
--- a/src/buddy_chat.c	Thu Apr 19 00:05:50 2001 +0000
+++ b/src/buddy_chat.c	Thu Apr 19 03:53:23 2001 +0000
@@ -540,7 +540,12 @@
 		play_sound(CHAT_JOIN);
 
 	if (display_options & OPT_DISP_CHAT_LOGON) {
-		g_snprintf(tmp, sizeof(tmp), _("<B>%s entered the room.</B>"), name);
+		if (display_options & OPT_DISP_SHOW_TIME)
+			g_snprintf(tmp, sizeof(tmp),
+					_("<FONT SIZE=\"2\">(%s) </FONT><B>%s entered the room.</B>"),
+						date(), name);
+		else
+			g_snprintf(tmp, sizeof(tmp), _("<B>%s entered the room.</B>"), name);
 		write_to_conv(b, tmp, WFLAG_SYSTEM, NULL);
 	}
 }

mercurial