From 1448d13e17ed68ff36c83d08d4b3d6b2ff7e7012 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 28 Jul 2006 15:45:38 +0000 Subject: Take invisible requirement out of chlist() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4577 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/message.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/message.cpp b/src/message.cpp index 5a09f3f37..88ff0ad3d 100644 --- a/src/message.cpp +++ b/src/message.cpp @@ -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 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(" "); } -- cgit v1.2.3