mirror of
https://github.com/znc/znc.git
synced 2026-05-09 14:54:53 +02:00
CTCP sent to *status shouldn't reach server
This commit is contained in:
@@ -1029,5 +1029,16 @@ TEST_F(ZNCTest, TagMsg) {
|
||||
client.ReadUntil("@bar TAGMSG #bar");
|
||||
}
|
||||
|
||||
TEST_F(ZNCTest, StatusAction) {
|
||||
auto znc = Run();
|
||||
auto ircd = ConnectIRCd();
|
||||
auto client = LoginClient();
|
||||
ircd.Write("001 nick Welcome");
|
||||
|
||||
client.Write("PRIVMSG *status :\1ACTION waves\1");
|
||||
client.Write("PRIVMSG *status :\1VERSION\1");
|
||||
ASSERT_THAT(ircd.ReadRemainder().toStdString(), Not(HasSubstr("PRIVMSG")));
|
||||
}
|
||||
|
||||
} // namespace
|
||||
} // namespace znc_inttest
|
||||
|
||||
Reference in New Issue
Block a user