Fixed bug with ctcp replies - thanks psycho

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@769 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2006-09-16 18:36:03 +00:00
parent f8bb245c36
commit 59e2a419a7

View File

@@ -680,7 +680,9 @@ bool CIRCSock::OnPrivCTCP(CNick& Nick, CString& sMessage) {
} else if (sQuery == "PING") {
sReply = sMessage.Token(1, true);
}
} else if (!sReply.empty()) {
}
if (!sReply.empty()) {
PutIRC("NOTICE " + Nick.GetNick() + " :\001" + sQuery + " " + sReply + "\001");
return true;
}