From 12cd554af1709c44f35024d7d2fc368fb22f133d Mon Sep 17 00:00:00 2001 From: Ali Shemiran Date: Fri, 9 May 2008 21:47:31 +0200 Subject: 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. --- src/testsuite/who-test.e | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/testsuite/who-test.e') diff --git a/src/testsuite/who-test.e b/src/testsuite/who-test.e index aafa7956..2e148447 100644 --- a/src/testsuite/who-test.e +++ b/src/testsuite/who-test.e @@ -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 { -- cgit 1.4.1