mcabber/src/main.c
changeset 160 44c6410b4845
parent 156 439b750d99fa
child 163 a8f7dc0a56cb
equal deleted inserted replaced
159:ba51d1737086 160:44c6410b4845
   155 
   155 
   156   optstring = cfg_read("logging");
   156   optstring = cfg_read("logging");
   157   if (optstring && (atoi(optstring) > 0))
   157   if (optstring && (atoi(optstring) > 0))
   158     hlog_enable(TRUE, cfg_read("logging_dir"));
   158     hlog_enable(TRUE, cfg_read("logging_dir"));
   159 
   159 
       
   160   if ((optstring = cfg_read("events_command")) != NULL)
       
   161     hk_ext_cmd_init(optstring);
       
   162 
   160   ssl = 0;
   163   ssl = 0;
   161   optstring = cfg_read("ssl");
   164   optstring = cfg_read("ssl");
   162   if (optstring && (atoi(optstring) > 0))
   165   if (optstring && (atoi(optstring) > 0))
   163     ssl = 1;
   166     ssl = 1;
   164   portstring = cfg_read("port");
   167   portstring = cfg_read("port");