Changeset fa29d093 for irc_commands.c


Ignore:
Timestamp:
2007-03-28T05:53:11Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
0da65d5
Parents:
723e611
Message:

Preparing for Jabber conference room support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_commands.c

    r723e611 rfa29d093  
    144144                irc_join( irc, u, irc->channel );
    145145        }
    146         else if( ( c = conv_findchannel( cmd[1] ) ) )
     146        else if( ( c = chat_by_channel( cmd[1] ) ) )
    147147        {
    148148                user_t *u = user_find( irc, irc->nick );
     
    153153                {
    154154                        c->joined = 0;
    155                         c->gc->acc->prpl->chat_leave( c->gc, c->id );
     155                        c->gc->acc->prpl->chat_leave( c );
    156156                }
    157157        }
     
    201201{
    202202        char *nick = cmd[1], *channel = cmd[2];
    203         struct conversation *c = conv_findchannel( channel );
     203        struct conversation *c = chat_by_channel( channel );
    204204        user_t *u = user_find( irc, nick );
    205205       
     
    207207                if( c->gc && c->gc->acc->prpl->chat_invite )
    208208                {
    209                         c->gc->acc->prpl->chat_invite( c->gc, c->id, "", u->handle );
     209                        c->gc->acc->prpl->chat_invite( c, "", u->handle );
    210210                        irc_reply( irc, 341, "%s %s", nick, channel );
    211211                        return;
     
    287287                        u = u->next;
    288288                }
    289         else if( ( c = conv_findchannel( channel ) ) )
     289        else if( ( c = chat_by_channel( channel ) ) )
    290290                for( l = c->in_room; l; l = l->next )
    291291                {
Note: See TracChangeset for help on using the changeset viewer.