Changeset e8c8d00 for conf.c


Ignore:
Timestamp:
2010-03-17T15:15:19Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
60e4df3
Parents:
1c3008a (diff), f9928cb (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merging mainline.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • conf.c

    r1c3008a re8c8d00  
    6666        conf->ft_max_kbps = G_MAXUINT;
    6767        conf->ft_listen = NULL;
     68        conf->protocols = NULL;
    6869        proxytype = 0;
    6970       
     
    130131                {
    131132                        printf( "Usage: bitlbee [-D/-F [-i <interface>] [-p <port>] [-n] [-v]] [-I]\n"
    132                                 "               [-c <file>] [-d <dir>] [-h]\n"
     133                                "               [-c <file>] [-d <dir>] [-x] [-h]\n"
    133134                                "\n"
    134135                                "An IRC-to-other-chat-networks gateway\n"
     
    146147                                "  -c  Load alternative configuration file\n"
    147148                                "  -d  Specify alternative user configuration directory\n"
     149                                "  -x  Command-line interface to password encryption/hashing\n"
    148150                                "  -h  Show this help page.\n" );
    149151                        return NULL;
     
    333335                                conf->ft_listen = g_strdup( ini->value );
    334336                        }
     337                        else if( g_strcasecmp( ini->key, "protocols" ) == 0 )
     338                        {
     339                                g_strfreev( conf->protocols );
     340                                conf->protocols = g_strsplit_set( ini->value, " \t,;", -1 );
     341                        }
    335342                        else
    336343                        {
Note: See TracChangeset for help on using the changeset viewer.