Fix for the new OFTC syntax "authenticate yourself to services with the IDENTIFY command."

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1502 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
silverleo
2009-05-02 12:48:13 +00:00
parent aaaae4e51a
commit 70b28b9ae5
+2 -1
View File
@@ -46,7 +46,8 @@ public:
{
if (!m_sPass.empty()
&& Nick.GetNick().Equals("NickServ")
&& sMessage.find("msg") != CString::npos
&& (sMessage.find("msg") != CString::npos
|| sMessage.find("authenticate") != CString::npos)
&& sMessage.AsUpper().find("IDENTIFY") != CString::npos
&& sMessage.find("help") == CString::npos) {
PutIRC("PRIVMSG NickServ :IDENTIFY " + m_sPass);