persistent_agents = ast_true(general_val);
if (ast_false(ast_variable_retrieve(cfg, "general", "multiplelogin") ) )
multiplelogin=0;
+ if (ast_true(ast_variable_retrieve(cfg, "general", "multiplelogin") ) )
+ multiplelogin=1;
/* Read in the [agents] section */
v = ast_variable_browse(cfg, "agents");
return 1;
if(!chan)
return 0;
- if(!context)
- context="default";
snprintf(loginchan, sizeof(loginchan), "%s@%s", chan, !ast_strlen_zero(context) ? context : "default");