X-Git-Url: https://jfr.im/git/irc/gameservirc.git/blobdiff_plain/0799ad9cbb08428dfbd96ec7e142b9e3e8369208..5431156e15bed660986dd7ff32f18680c25dd95f:/gameserv/tcpclient.cpp?ds=sidebyside diff --git a/gameserv/tcpclient.cpp b/gameserv/tcpclient.cpp index bac9591..62d73a1 100644 --- a/gameserv/tcpclient.cpp +++ b/gameserv/tcpclient.cpp @@ -35,7 +35,7 @@ using std::cerr; using std::endl; char *PACKAGE = "GameServ"; -char *VERSION = "1.2.4 +devel"; +char *VERSION = "1.2.5 +devel"; int sock; long lastrefresh; @@ -215,6 +215,12 @@ int main(int argc, char *argv[]) raw(":%S TOPIC %s :%s", c_Forest, c_ForestTopic); #endif + #ifndef P10 + if (isUseNickServ()) + { + raw(":%S PRIVMSG %s :IDENTIFY %s", nsname, nspass); + } + #endif sock_gets(sock,buffer,sizeof(buffer)-1); /* -1 added thanks to David Duchene for pointing out the possible buffer overflow resulting from the linefeed added below. */