Changeset 90cd6c4 for conf.c


Ignore:
Timestamp:
2010-03-14T18:22:43Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
21d48d9
Parents:
ceebeb1
Message:

Allow disabling certain IM protocols at runtime, patch from
misc@…, bug #381.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • conf.c

    rceebeb1 r90cd6c4  
    6363        conf->ping_timeout = 300;
    6464        conf->user = NULL;
     65        conf->protocols = NULL;
    6566        proxytype = 0;
    6667       
     
    307308                                conf->user = g_strdup( ini->value );
    308309                        }
     310                        else if( g_strcasecmp( ini->key, "protocols" ) == 0 )
     311                        {
     312                                g_strfreev( conf->protocols );
     313                                conf->protocols = g_strsplit_set( ini->value, " \t,;", -1 );
     314                        }
    309315                        else
    310316                        {
Note: See TracChangeset for help on using the changeset viewer.