------------------------------------------------------
Beta2 Released
------------------------------------------------------
+
+Fixed m_who bug displaying channels
+when it isn't supposed to, thanks to frozen
+--Luke
+===================================
#endif
for (lp = acptr->user->channel; lp; lp = lp->next)
{
+ /* sptr not a member
+ * not whoing oneself & acptr invisible
+ */
if (!IsMember(sptr, lp->value.chptr) &&
(acptr != sptr && IsInvisible(acptr)))
continue;
+ /* sptr is a member OR
+ * acptr not invisible, and channel not +s/+p
+ */
if (IsMember(sptr, lp->value.chptr) ||
- !IsInvisible(acptr) && ShowChannel(sptr, lp->value.chptr))
+ !IsInvisible(acptr) && PubChannel(lp->value.chptr))
{
g2g = 1;
ch2ptr = lp->value.chptr;