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:
committed by
Florian Westphal
parent
5cf5ba31eb
commit
12cd554af1
@@ -28,5 +28,10 @@
|
||||
Name = #TopicChannel
|
||||
Modes = t
|
||||
Topic = the topic
|
||||
|
||||
[CHANNEL]
|
||||
Name = #SecretChannel
|
||||
Modes = s
|
||||
Topic = A secret Channel
|
||||
|
||||
# -eof-
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user