Skip to content

Commit

Permalink
Add identify prompt for StarChat.net
Browse files Browse the repository at this point in the history
Apparently StarChat.net uses a very old (?) or obscure NickServ
service that doesn't send any of the more common prompts for ID.
(It also doesn't support nick grouping, more's the pity.)
(cherry picked from commit e379a7a)
  • Loading branch information
dgw authored and DarthGandalf committed Apr 14, 2014
1 parent 4d5d55d commit bd2c099
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/nickserv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ class CNickServ : public CModule {
|| sMessage.find("choose a different nickname") != CString::npos
|| sMessage.find("If this is your nick, identify yourself with") != CString::npos
|| sMessage.find("If this is your nick, type") != CString::npos
|| sMessage.find("This is a registered nickname, please identify") != CString::npos
|| sMessage.StripControls_n().find("type /NickServ IDENTIFY password") != CString::npos)
&& sMessage.AsUpper().find("IDENTIFY") != CString::npos
&& sMessage.find("help") == CString::npos) {
Expand Down

0 comments on commit bd2c099

Please sign in to comment.