mirror of
https://github.com/znc/znc.git
synced 2026-05-08 14:24:45 +02:00
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:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user