* and do no parsing until after all of the modules
* are loaded. But that has issues, too.
*/
- if ((c->data.map->lhs->type == TMPL_TYPE_UNPARSED) &&
- (lhs_type == T_BARE_WORD) &&
- (c->data.map->rhs->type == TMPL_TYPE_UNPARSED)) {
+ if ((c->data.map->lhs->type == TMPL_TYPE_UNPARSED) && (lhs_type == T_BARE_WORD)) {
int hyphens = 0;
bool may_be_attr = true;
size_t i;
if (!radius_find_compare(map->lhs->tmpl_da)) return true;
- if (map->rhs->type == TMPL_TYPE_ATTR) {
- cf_log_err(map->ci, "Cannot compare virtual attribute %s to another attribute",
- map->lhs->name);
- return false;
- }
-
if (map->rhs->type == TMPL_TYPE_REGEX) {
cf_log_err(map->ci, "Cannot compare virtual attribute %s via a regex",
map->lhs->name);