src/user.cpp
// returns the value if there is value (even if it's invalid by now)
returns the value if there is value (even if it's invalid by now)
returns the value if there is value ( even if it ' s invalid by now )
const string * User::getattr(attr_t at)
{
    userattr_map::const_iterator it = attrs.find(at);
    if (it != attrs.end())
    {
        return &(it->second);
    }
    return NULL;
}
const string * User :: getattr ( attr_t at ) { userattr_map :: const_iterator it = attrs . find ( at ) ; if ( it != attrs . end ( ) ) { return & ( it -> second ) ; } return NULL ; }
returns the value if there is value (even if it's invalid by now)
returns the value if there is value ( even if it ' s invalid by now )