Don't expose ZNC version in CTCP VERSION.

Thanks to Mikaela for finding this.
See #818
This commit is contained in:
Alexey Sokolov
2015-01-18 08:15:34 +00:00
parent 38353a67d7
commit 94f2b4dc97
+1 -1
View File
@@ -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);
}