- Timestamp:
- 2006-06-30T23:18:56Z (18 years ago)
- Branches:
- master
- Children:
- 5100caa
- Parents:
- 5c9512f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
r5c9512f r0a3c243 925 925 { 926 926 char *nick, *s; 927 char reason[ 64];927 char reason[128]; 928 928 929 929 if( u->gc && u->gc->flags & OPT_LOGGING_OUT ) 930 930 { 931 if( u->gc-> user->proto_opt[0][0])931 if( u->gc->acc->server ) 932 932 g_snprintf( reason, sizeof( reason ), "%s %s", irc->myhost, 933 u->gc-> user->proto_opt[0]);933 u->gc->acc->server ); 934 934 else if( ( s = strchr( u->gc->username, '@' ) ) ) 935 935 g_snprintf( reason, sizeof( reason ), "%s %s", irc->myhost, … … 937 937 else 938 938 g_snprintf( reason, sizeof( reason ), "%s %s.%s", irc->myhost, 939 u->gc-> prpl->name, irc->myhost );939 u->gc->acc->prpl->name, irc->myhost ); 940 940 941 941 /* proto_opt might contain garbage after the : */ … … 1013 1013 else if( g_strncasecmp( s + 1, "TYPING", 6 ) == 0 ) 1014 1014 { 1015 if( u && u->gc && u->gc-> prpl->send_typing && strlen( s ) >= 10 )1015 if( u && u->gc && u->gc->acc->prpl->send_typing && strlen( s ) >= 10 ) 1016 1016 { 1017 1017 time_t current_typing_notice = time( NULL ); … … 1019 1019 if( current_typing_notice - u->last_typing_notice >= 5 ) 1020 1020 { 1021 u->gc-> prpl->send_typing( u->gc, u->handle, s[8] == '1' );1021 u->gc->acc->prpl->send_typing( u->gc, u->handle, s[8] == '1' ); 1022 1022 u->last_typing_notice = current_typing_notice; 1023 1023 } … … 1052 1052 } 1053 1053 } 1054 else if( c && c->gc && c->gc-> prpl )1054 else if( c && c->gc && c->gc->acc && c->gc->acc->prpl ) 1055 1055 { 1056 1056 return( bim_chat_msg( c->gc, c->id, s ) );
Note: See TracChangeset
for help on using the changeset viewer.