Skip to content
Snippets Groups Projects
Commit f8dd2919 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#4116] Accout are enabled by default, even if not specified in migrated config

parent fff01557
Branches
Tags
No related merge requests found
...@@ -335,7 +335,7 @@ void SIPAccount::unserialize (Conf::MappingNode *map) ...@@ -335,7 +335,7 @@ void SIPAccount::unserialize (Conf::MappingNode *map)
val = (Conf::ScalarNode *) (map->getValue (accountEnableKey)); val = (Conf::ScalarNode *) (map->getValue (accountEnableKey));
if (val) { if (val) {
_enabled = (val->getValue().compare ("true") == 0) ? true : false; _enabled = (val->getValue() == "false") ? false : true;
val = NULL; val = NULL;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment