Changeset 6d5eb72
- Timestamp:
- 2008-12-14T01:14:55Z (16 years ago)
- Branches:
- master
- Children:
- e1720ce
- Parents:
- 549545b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chat.c
r549545b r6d5eb72 31 31 set_t *s; 32 32 33 if( acc->prpl->chat_join == NULL ) 33 if( acc->prpl->chat_join == NULL || !chat_chanok( channel ) || 34 chat_chancmp( channel, irc->channel ) == 0 ) 35 { 34 36 return NULL; 35 36 if( !chat_chanok( channel ) ) 37 return NULL; 38 39 if( chat_chancmp( channel, irc->channel ) == 0 ) 40 return NULL; 37 } 41 38 42 39 for( c = irc->chatrooms; c; c = c->next ) … … 177 174 struct groupchat *gc; 178 175 char *nick = set_getstr( &c->set, "nick" ); 176 177 if( c->acc->ic == NULL || c->acc->prpl->chat_join == NULL ) 178 return 0; 179 179 180 180 if( nick == NULL ) 181 181 nick = irc->nick; 182 182 183 if( c->acc->prpl->chat_join && 184 ( gc = c->acc->prpl->chat_join( c->acc->ic, c->handle, nick, password ) ) ) 183 if( ( gc = c->acc->prpl->chat_join( c->acc->ic, c->handle, nick, password ) ) ) 185 184 { 186 185 g_free( gc->channel );
Note: See TracChangeset
for help on using the changeset viewer.