Commit Diff


commit - b730b64bbecfb325e28f7df1fba46942ac19968d
commit + 62a07596d6a3a8da206bde8d34edc8b02781d33d
blob - 9e88e1bd0031de480a33d3ddfb5b447fed81d013
blob + 72fbdc242f6069cc4758dbda43cb666d2426feca
--- src/ngircd/irc-channel.c
+++ src/ngircd/irc-channel.c
@@ -669,7 +669,8 @@ IRC_LIST( CLIENT *Client, REQUEST *Req )
 			if (MatchCaseInsensitive(pattern, Channel_Name(chan))) {
 				/* Gotcha! */
 				if (!strchr(Channel_Modes(chan), 's')
-				    || Channel_IsMemberOf(chan, from)) {
+				    || Channel_IsMemberOf(chan, from)
+				    || (!Conf_MorePrivacy && Client_OperByMe(Client))) {
 					if (IRC_CheckListTooBig(from, count,
 								 MAX_RPL_LIST,
 								 "LIST"))