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:
@@ -679,3 +679,7 @@ Applied weird sts patch for dynamic allocation of nick
|
||||
field in topics
|
||||
--Luke
|
||||
===================================
|
||||
|
||||
Fixed broken /who
|
||||
--Luke
|
||||
===================================
|
||||
|
||||
+14
-1
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user