- Timestamp:
- 2008-08-31T15:00:35Z (16 years ago)
- Branches:
- master
- Children:
- 3b99524
- Parents:
- d995c9b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chat.c
rd995c9b r3611717 58 58 59 59 s = set_add( &c->set, "auto_join", "false", set_eval_bool, c ); 60 s = set_add( &c->set, "auto_rejoin", "false", set_eval_bool, c );60 /* s = set_add( &c->set, "auto_rejoin", "false", set_eval_bool, c ); */ 61 61 s = set_add( &c->set, "nick", NULL, NULL, c ); 62 62 s->flags |= SET_NULL_OK; … … 169 169 return 0; 170 170 } 171 172 int chat_join( irc_t *irc, struct chat *c ) 173 { 174 struct groupchat *gc; 175 char *nick = set_getstr( &c->set, "nick" ); 176 177 if( nick == NULL ) 178 nick = irc->nick; 179 180 if( ( gc = c->acc->prpl->chat_join( c->acc->ic, c->handle, nick, NULL ) ) ) 181 { 182 g_free( gc->channel ); 183 gc->channel = g_strdup( c->channel ); 184 return 1; 185 } 186 187 return 0; 188 }
Note: See TracChangeset
for help on using the changeset viewer.