* NAMES_DEL - Show join-delayed names list.
* NAMES_EON - When OR'd with the other two, adds an 'End of Names' numeric
* used by m_join
+ * NAMES_OPS - Only list oped (+o) or voiced (+v) users
*
*/
if (IsInvisibleJoin(member) && member->user != sptr)
continue;
+
+ if (!IsChanOp(member) && !HasVoice(member) && member->user != sptr && (filter & NAMES_OPS))
+ continue;
if (needs_space)
buf[idx++] = ' ';