Changeset 8d93b4a
- Timestamp:
- 2010-10-22T00:50:34Z (14 years ago)
- Branches:
- master
- Children:
- 03e6c52
- Parents:
- 7c5a3be5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
r7c5a3be5 r8d93b4a 112 112 s = set_add( &b->set, "display_timestamps", "true", set_eval_bool, irc ); 113 113 s = set_add( &b->set, "handle_unknown", "add_channel", NULL, irc ); 114 s = set_add( &b->set, "last_version", NULL, NULL, irc );114 s = set_add( &b->set, "last_version", "0", NULL, irc ); 115 115 s->flags |= SET_HIDDEN; 116 s->value = g_strdup_printf( "%d", BITLBEE_VERSION_CODE );117 116 s = set_add( &b->set, "lcnicks", "true", set_eval_bool, irc ); 118 117 s = set_add( &b->set, "nick_format", "%-@nick", NULL, irc ); -
root_commands.c
r7c5a3be5 r8d93b4a 206 206 static void cmd_register( irc_t *irc, char **cmd ) 207 207 { 208 char s[16]; 209 208 210 if( global.conf->authmode == AUTHMODE_REGISTERED ) 209 211 { … … 222 224 irc->status |= USTATUS_IDENTIFIED; 223 225 irc_umode_set( irc, "+R", 1 ); 226 227 /* Set this var now, or anyone who logs in to his/her 228 newly created account for the first time gets the 229 whatsnew story. */ 230 g_snprintf( s, sizeof( s ), "%d", BITLBEE_VERSION_CODE ); 231 set_setstr( &irc->b->set, "last_version", s ); 224 232 break; 225 233
Note: See TracChangeset
for help on using the changeset viewer.