Changeset fa29d093 for irc_commands.c
- Timestamp:
- 2007-03-28T05:53:11Z (17 years ago)
- Branches:
- master
- Children:
- 0da65d5
- Parents:
- 723e611
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_commands.c
r723e611 rfa29d093 144 144 irc_join( irc, u, irc->channel ); 145 145 } 146 else if( ( c = c onv_findchannel( cmd[1] ) ) )146 else if( ( c = chat_by_channel( cmd[1] ) ) ) 147 147 { 148 148 user_t *u = user_find( irc, irc->nick ); … … 153 153 { 154 154 c->joined = 0; 155 c->gc->acc->prpl->chat_leave( c ->gc, c->id);155 c->gc->acc->prpl->chat_leave( c ); 156 156 } 157 157 } … … 201 201 { 202 202 char *nick = cmd[1], *channel = cmd[2]; 203 struct conversation *c = c onv_findchannel( channel );203 struct conversation *c = chat_by_channel( channel ); 204 204 user_t *u = user_find( irc, nick ); 205 205 … … 207 207 if( c->gc && c->gc->acc->prpl->chat_invite ) 208 208 { 209 c->gc->acc->prpl->chat_invite( c ->gc, c->id, "", u->handle );209 c->gc->acc->prpl->chat_invite( c, "", u->handle ); 210 210 irc_reply( irc, 341, "%s %s", nick, channel ); 211 211 return; … … 287 287 u = u->next; 288 288 } 289 else if( ( c = c onv_findchannel( channel ) ) )289 else if( ( c = chat_by_channel( channel ) ) ) 290 290 for( l = c->in_room; l; l = l->next ) 291 291 {
Note: See TracChangeset
for help on using the changeset viewer.