mirror of
https://github.com/znc/znc.git
synced 2026-08-01 22:43:05 +02:00
Nickserv: Work on freenode (which uses lower case 'identify' notice)
Thanks to SilverLeo for the patch git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1076 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -54,7 +54,7 @@ public:
|
||||
if (!m_sPass.empty()
|
||||
&& Nick.GetNick().CaseCmp("NickServ") == 0
|
||||
&& sMessage.find("msg") != CString::npos
|
||||
&& sMessage.find("IDENTIFY") != 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