+ ModResult res = ServerInstance->OnCheckExemption(memb->user, memb->chan, "auditorium-vis");
+ return res.check(OpsVisible && memb->getRank() >= OP_VALUE);
+ }
+
+ /* Can they see this specific membership? */
+ bool CanSee(User* issuer, Membership* memb)
+ {
+ // If user is oper and operoverride is on, don't touch the list
+ if (OperCanSee && issuer->HasPrivPermission("channels/auspex"))
+ return true;
+
+ // You can always see yourself
+ if (issuer == memb->user)
+ return true;
+
+ // Can you see the list by permission?
+ ModResult res = ServerInstance->OnCheckExemption(issuer,memb->chan,"auditorium-see");
+ if (res.check(OpsCanSee && memb->chan->GetPrefixValue(issuer) >= OP_VALUE))
+ return true;
+
+ return false;
+ }
+
+ void OnNamesListItem(User* issuer, Membership* memb, std::string &prefixes, std::string &nick)
+ {
+ // Some module already hid this from being displayed, don't bother