mirror of
https://github.com/znc/znc.git
synced 2026-05-06 13:32:36 +02:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user