// If there is a '-' in the restriction string ignore it and everything after it
// to support "auditorium-vis" and "auditorium-see" in m_auditorium
p = restriction.find('-');
// If there is a '-' in the restriction string ignore it and everything after it
// to support "auditorium-vis" and "auditorium-see" in m_auditorium
p = restriction.find('-');
if (pos == std::string::npos)
continue;
if (!i->mask.compare(0, pos, restriction))
if (pos == std::string::npos)
continue;
if (!i->mask.compare(0, pos, restriction))