1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-11-08 01:33:03 +00:00

Fix secret channel information leak

/who on a secret channel that the user is not a member of
now returns proper RPL_ENDOFWHO_MSG instead of nothing.
This commit is contained in:
Ali Shemiran
2008-05-09 21:47:31 +02:00
committed by Florian Westphal
parent 5cf5ba31eb
commit 12cd554af1
4 changed files with 18 additions and 1 deletions

View File

@@ -28,5 +28,10 @@
Name = #TopicChannel
Modes = t
Topic = the topic
[CHANNEL]
Name = #SecretChannel
Modes = s
Topic = A secret Channel
# -eof-

View File

@@ -152,6 +152,16 @@ expect {
timeout { exit 1 }
":ngircd.test.server 352 nick \* * localhost ngircd.test.server nick H\* :0 Real Name"
}
expect {
timeout { exit 1 }
"315"
}
send "who #SecretChannel\r"
expect {
timeout { exit 1 }
"315"
}
send "quit\r"
expect {