mirror of
https://github.com/znc/znc.git
synced 2026-08-06 17:03:14 +02:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user