Changeset 2fe5eb9
- Timestamp:
- 2010-07-29T17:08:16Z (14 years ago)
- Branches:
- master
- Children:
- f7ca587
- Parents:
- b40e60d
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.h
rb40e60d r2fe5eb9 2 2 * BitlBee -- An IRC to other IM-networks gateway * 3 3 * * 4 * Copyright 2002-20 04Wilmer van der Gaast and others *4 * Copyright 2002-2010 Wilmer van der Gaast and others * 5 5 \********************************************************************/ 6 6 … … 108 108 char *fullname; 109 109 110 /* Nickname in lowercase for case sensitive searches */110 /* Nickname in lowercase for case insensitive searches */ 111 111 char *key; 112 112 -
irc_channel.c
rb40e60d r2fe5eb9 117 117 { 118 118 irc_t *irc = ic->irc; 119 GSList *l; 119 120 120 121 if( ic->flags & IRC_CHANNEL_JOINED ) … … 132 133 g_free( ic->users->data ); 133 134 ic->users = g_slist_remove( ic->users, ic->users->data ); 135 } 136 137 for( l = irc->users; l; l = l->next ) 138 { 139 irc_user_t *iu = l->data; 140 141 if( iu->last_channel == ic ) 142 iu->last_channel = irc->default_channel; 134 143 } 135 144 -
irc_im.c
rb40e60d r2fe5eb9 210 210 char *dst, *prefix = NULL; 211 211 char *wrapped, *ts = NULL; 212 irc_channel_t *ic = NULL; 212 213 213 214 if( sent_at > 0 && set_getbool( &irc->b->set, "display_timestamps" ) ) … … 216 217 if( iu->last_channel ) 217 218 { 218 dst = iu->last_channel->name; 219 if( iu->last_channel->flags & IRC_CHANNEL_JOINED ) 220 ic = iu->last_channel; 221 else if( irc->default_channel->flags & IRC_CHANNEL_JOINED ) 222 ic = irc->default_channel; 223 } 224 225 if( ic ) 226 { 227 dst = ic->name; 219 228 prefix = g_strdup_printf( "%s%s%s", irc->user->nick, set_getstr( &bee->set, "to_char" ), ts ? : "" ); 220 229 }
Note: See TracChangeset
for help on using the changeset viewer.