- Properly extract alias 'from' from the configuration variable name.
This commit is contained in:
Paul Beckingham 2014-07-03 22:34:05 -04:00
parent a91d6227f8
commit 531e490e44

View file

@ -753,7 +753,8 @@ void Context::loadAliases ()
{
std::map <std::string, std::string>::iterator i;
for (i = config.begin (); i != config.end (); ++i)
parser.alias (i->first, i->second);
if (i->first.substr (0, 6) == "alias.")
parser.alias (i->first.substr (6), i->second);
}
////////////////////////////////////////////////////////////////////////////////