From ca953d45ed4a1c7f6d3ace7f6a63993276947e8c Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Sat, 31 Jan 2015 10:03:46 +0200 Subject: [PATCH] nickserv: use NICKSERV instead of PRIVMSG Ref: https://github.com/znc/znc/issues/786#issuecomment-68104883 The NickServ command is usually server-side alias that ensures that NickServ is U-lined server and not random user who has /nicked to NickServ on misconfigured server that allows that. NS would probably also work, but NICKSERV is more common. Ref: https://github.com/ProgVal/Limnoria/pull/724#issuecomment-45381342 --- modules/nickserv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nickserv.cpp b/modules/nickserv.cpp index 0ed7b135..6a6173bd 100644 --- a/modules/nickserv.cpp +++ b/modules/nickserv.cpp @@ -84,7 +84,7 @@ public: } if (GetNV("IdentifyCmd").empty()) { - SetNV("IdentifyCmd", "PRIVMSG NickServ :IDENTIFY {password}"); + SetNV("IdentifyCmd", "NICKSERV IDENTIFY {password}"); } return true;