- Timestamp:
- 2010-04-14T09:27:50Z (14 years ago)
- Branches:
- master
- Children:
- d33679e
- Parents:
- 81186cab (diff), 156bbd7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_im.c
r81186cab r21c87a7 99 99 irc_user_t *iu = (irc_user_t *) bu->ui_data; 100 100 char *dst, *prefix = NULL; 101 char *wrapped; 101 char *wrapped, *ts = NULL; 102 103 if( sent_at > 0 && set_getbool( &irc->b->set, "display_timestamps" ) ) 104 ts = irc_format_timestamp( irc, sent_at ); 102 105 103 106 if( iu->flags & IRC_USER_PRIVATE ) 104 107 { 105 108 dst = irc->user->nick; 109 prefix = ts; 110 ts = NULL; 106 111 } 107 112 else 108 113 { 109 114 dst = ic->name; 110 prefix = g_strdup_printf( "%s%s ", irc->user->nick, set_getstr( &bee->set, "to_char" ));115 prefix = g_strdup_printf( "%s%s%s", irc->user->nick, set_getstr( &bee->set, "to_char" ), ts ); 111 116 } 112 117 … … 116 121 g_free( wrapped ); 117 122 g_free( prefix ); 123 g_free( ts ); 118 124 119 125 return TRUE;
Note: See TracChangeset
for help on using the changeset viewer.