mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Take invisible requirement out of chlist()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4577 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
f05102db9a
commit
1448d13e17
@ -306,7 +306,7 @@ std::string chlist(userrec *user,userrec* source)
|
||||
* If the channel is NOT private/secret OR the user shares a common channel
|
||||
* If the user is an oper, and the <options:operspywhois> option is set.
|
||||
*/
|
||||
if ((source == user) || (*source->oper && Config->OperSpyWhois) || (((!rec->channel->modes[CM_PRIVATE]) && (!rec->channel->modes[CM_SECRET]) && !(user->modes[UM_INVISIBLE])) || (rec->channel->HasUser(source))))
|
||||
if ((source == user) || (*source->oper && Config->OperSpyWhois) || (((!rec->channel->modes[CM_PRIVATE]) && (!rec->channel->modes[CM_SECRET])) || (rec->channel->HasUser(source))))
|
||||
{
|
||||
list.append(cmode(user, rec->channel)).append(rec->channel->name).append(" ");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user