|
@@ -1699,9 +1699,6 @@ func listHandler(server *Server, client *Client, msg ircmsg.Message, rb *Respons
|
1699
|
1699
|
for _, chname := range channels {
|
1700
|
1700
|
channel := server.channels.Get(chname)
|
1701
|
1701
|
if channel == nil || (!clientIsOp && channel.flags.HasMode(modes.Secret) && !channel.hasClient(client)) {
|
1702
|
|
- if len(chname) > 0 {
|
1703
|
|
- rb.Add(nil, server.name, ERR_NOSUCHCHANNEL, client.nick, utils.SafeErrorParam(chname), client.t("No such channel"))
|
1704
|
|
- }
|
1705
|
1702
|
continue
|
1706
|
1703
|
}
|
1707
|
1704
|
if matcher.Matches(channel) {
|