Do not keep nickserv passwords lingering around as module arguments.

Instead, save them as NV. This also prevents them from showing up in
webadmin.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1914 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
cflakes
2010-04-15 11:20:16 +00:00
parent 4bc058109b
commit 80724ce64c
+4 -1
View File
@@ -23,8 +23,11 @@ public:
{
if (sArgs.empty())
m_sPass = GetNV("Password");
else
else {
m_sPass = sArgs;
SetNV("Password", m_sPass);
SetArgs("");
}
return true;
}