- Timestamp:
- 2010-04-08T00:55:17Z (15 years ago)
- Branches:
- master
- Children:
- 92a9c68
- Parents:
- 37d84b3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.c
r37d84b3 r5b9b2b6 724 724 { 725 725 irc_t *irc = ic->irc; 726 char *wrapped, *ts ;726 char *wrapped, *ts = NULL; 727 727 user_t *u; 728 728 … … 767 767 strip_html( msg ); 768 768 769 if( ( ts = format_timestamp( irc, sent_at ) ) ) 769 if( set_getbool( &ic->irc->set, "display_timestamps" ) && 770 ( ts = format_timestamp( irc, sent_at ) ) ) 770 771 { 771 772 char *new = g_strconcat( ts, msg, NULL ); … … 881 882 if( c && u ) 882 883 { 883 char *ts = format_timestamp( ic->irc, sent_at ); 884 char *ts = NULL; 885 if( set_getbool( &ic->irc->set, "display_timestamps" ) ) 886 ts = format_timestamp( ic->irc, sent_at ); 884 887 irc_privmsg( ic->irc, u, "PRIVMSG", c->channel, ts ? : "", wrapped ); 885 888 g_free( ts );
Note: See TracChangeset
for help on using the changeset viewer.