Permalink
Browse files

Add identify prompt for StarChat.net

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...
1 parent 4d5d55d commit bd2c099a5080be51c6e80236d15fbcc812a5d5e0 @dgw dgw committed with DarthGandalf Dec 17, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 modules/nickserv.cpp
@@ -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) {

0 comments on commit bd2c099

Please sign in to comment.