mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
nickserv: don't confuse people so much
Password is hidden from arguments, because it's bad to show it right here. But it looked like it refused to save the pass.
This commit is contained in:
@@ -122,9 +122,9 @@ public:
|
||||
virtual ~CNickServ() {}
|
||||
|
||||
virtual bool OnLoad(const CString& sArgs, CString& sMessage) {
|
||||
if (!sArgs.empty()) {
|
||||
if (!sArgs.empty() && sArgs != "<hidden>") {
|
||||
SetNV("Password", sArgs);
|
||||
SetArgs("");
|
||||
SetArgs("<hidden>");
|
||||
}
|
||||
|
||||
if (GetNV("IdentifyCmd").empty()) {
|
||||
|
||||
Reference in New Issue
Block a user