Use ExpandString() for CTCPReply

You can now use 'wildcards' like %nick%, %user%, etc in CTCPReply


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1096 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-06-17 08:22:27 +00:00
parent 78f8cce2c6
commit 0f3f305a87
+1 -1
View File
@@ -806,7 +806,7 @@ bool CIRCSock::OnGeneralCTCP(CNick& Nick, CString& sMessage) {
}
if (it != mssCTCPReplies.end()) {
sReply = it->second;
sReply = m_pUser->ExpandString(it->second);
bHaveReply = true;
}