- if (i->first == memb->user || !IS_LOCAL(i->first))
- continue;
- if (ShowOps && i->second->getRank() >= OP_VALUE)
- continue;
- if (OperOverride && i->first->HasPrivPermission("channels/auspex"))
- continue;
- // This is a different user in the channel, local, and not op/oper
- // so, hide the join from them
- excepts.insert(i->first);
+ if (IS_LOCAL(i->first) && !CanSee(i->first, memb))
+ excepts.insert(i->first);