mirror of
https://github.com/znc/znc.git
synced 2026-05-14 21:35:47 +02:00
Don't expose ZNC version in CTCP VERSION.
Thanks to Mikaela for finding this. See #818
This commit is contained in:
+1
-1
@@ -916,7 +916,7 @@ bool CIRCSock::OnGeneralCTCP(CNick& Nick, CString& sMessage) {
|
||||
|
||||
if (!bHaveReply && !m_pNetwork->IsUserAttached()) {
|
||||
if (sQuery == "VERSION") {
|
||||
sReply = CZNC::GetTag();
|
||||
sReply = CZNC::GetTag(false);
|
||||
} else if (sQuery == "PING") {
|
||||
sReply = sMessage.Token(1, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user