Changeset c1a8a16
- Timestamp:
- 2010-06-05T23:16:52Z (14 years ago)
- Branches:
- master
- Children:
- 18da20b
- Parents:
- 5a75d15
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
root_commands.c
r5a75d15 rc1a8a16 1019 1019 } 1020 1020 } 1021 /*1022 1021 else if( g_strcasecmp( cmd[1], "with" ) == 0 ) 1023 1022 { 1024 user_t *u;1023 irc_user_t *iu; 1025 1024 1026 1025 MIN_ARGS( 2 ); 1027 1026 1028 if( ( u = user_find( irc, cmd[2] ) ) && u->ic && u->ic->acc->prpl->chat_with ) 1029 { 1030 if( !u->ic->acc->prpl->chat_with( u->ic, u->handle ) ) 1027 if( ( iu = irc_user_by_name( irc, cmd[2] ) ) && 1028 iu->bu && iu->bu->ic->acc->prpl->chat_with ) 1029 { 1030 if( !iu->bu->ic->acc->prpl->chat_with( iu->bu->ic, iu->bu->handle ) ) 1031 1031 { 1032 1032 irc_usermsg( irc, "(Possible) failure while trying to open " 1033 "a groupchat with %s.", u->nick );1033 "a groupchat with %s.", iu->nick ); 1034 1034 } 1035 1035 } … … 1039 1039 } 1040 1040 } 1041 */1042 1041 else 1043 1042 {
Note: See TracChangeset
for help on using the changeset viewer.