- Timestamp:
- 2005-11-26T02:24:38Z (19 years ago)
- Branches:
- master
- Children:
- b20b32f, f712188
- Parents:
- 30f248a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.c
r30f248a rdfde8e0 234 234 { 235 235 va_list params; 236 char text[1024], buf[1024] ;236 char text[1024], buf[1024], acc_id[33]; 237 237 char *msg; 238 account_t *a; 238 239 239 240 va_start( params, format ); … … 251 252 strip_html( msg ); 252 253 253 irc_usermsg( gc->irc, "%s(%s) - %s", proto_name[gc->protocol], gc->username, msg ); 254 /* Try to find a different connection on the same protocol. */ 255 for( a = gc->irc->accounts; a; a = a->next ) 256 if( proto_prpl[a->protocol] == gc->prpl && a->gc != gc ) 257 break; 258 259 /* If we found one, add the screenname to the acc_id. */ 260 if( a ) 261 g_snprintf( acc_id, 32, "%s(%s)", proto_name[gc->protocol], gc->username ); 262 else 263 g_snprintf( acc_id, 32, "%s", proto_name[gc->protocol] ); 264 265 irc_usermsg( gc->irc, "%s - %s", acc_id, msg ); 254 266 } 255 267
Note: See TracChangeset
for help on using the changeset viewer.