1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-04 02:23:13 +02:00

fixed m_who

This commit is contained in:
luke
2002-08-29 19:46:11 +00:00
parent 9bb7d0adce
commit 9bfe99cdd6
2 changed files with 18 additions and 1 deletions
+4
View File
@@ -679,3 +679,7 @@ Applied weird sts patch for dynamic allocation of nick
field in topics
--Luke
===================================
Fixed broken /who
--Luke
===================================
+14 -1
View File
@@ -2511,7 +2511,20 @@ static void do_who(sptr, acptr, repchan)
!ShowChannel(sptr,repchan))
status[i++] = '!';
#endif
else
#ifdef ENABLE_INVISOPER
if (channelwho && IsHiding(acptr) && IsNetAdmin(sptr) ||
IsInvisible(acptr) && !IsMember(sptr,repchan) ||
IsAuditorium(repchan) && !is_chan_op(acptr,repchan) ||
!ShowChannel(sptr,repchan))
return;
#else
if (
IsInvisible(acptr) && !IsMember(sptr,repchan) ||
IsAuditorium(repchan) && !is_chan_op(acptr,repchan) ||
!ShowChannel(sptr,repchan))
return;
#endif
/* Channel owner */
/* if (repchan && is_chanowner(acptr, repchan))