Changeset 94acdd0 for chat.c


Ignore:
Timestamp:
2008-09-28T11:18:19Z (16 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
b2c062d
Parents:
e180c59
Message:

Restored support for password-protected chatrooms (for now only by accepting
a password in the IRC JOIN command).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chat.c

    re180c59 r94acdd0  
    170170}
    171171
    172 int chat_join( irc_t *irc, struct chat *c )
     172int chat_join( irc_t *irc, struct chat *c, const char *password )
    173173{
    174174        struct groupchat *gc;
     
    178178                nick = irc->nick;
    179179       
    180         if( ( gc = c->acc->prpl->chat_join( c->acc->ic, c->handle, nick, NULL ) ) )
     180        if( ( gc = c->acc->prpl->chat_join( c->acc->ic, c->handle, nick, password ) ) )
    181181        {
    182182                g_free( gc->channel );
Note: See TracChangeset for help on using the changeset viewer.