Permalink
Browse files

Merge pull request #376 from nurupo/master

nickserv: wenet.ru's nickserv request fix
  • Loading branch information...
DarthGandalf committed Jun 26, 2013
2 parents 25cc51a + d469926 commit 7852e30855f7ab2b197cdd7694e211f2e2f06682
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/nickserv.cpp
View
@@ -162,7 +162,7 @@ class CNickServ : public CModule {
|| sMessage.find("authenticate") != CString::npos
|| sMessage.find("choose a different nickname") != CString::npos
|| sMessage.find("If this is your nick, type") != CString::npos
- || sMessage.find("type /NickServ IDENTIFY password") != CString::npos)
+ || sMessage.StripControls_n().find("type /NickServ IDENTIFY password") != CString::npos)
&& sMessage.AsUpper().find("IDENTIFY") != CString::npos
&& sMessage.find("help") == CString::npos) {
MCString msValues;

0 comments on commit 7852e30

Please sign in to comment.