mirror of
https://github.com/znc/znc.git
synced 2026-05-08 06:14:40 +02:00
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:
@@ -23,8 +23,11 @@ public:
|
||||
{
|
||||
if (sArgs.empty())
|
||||
m_sPass = GetNV("Password");
|
||||
else
|
||||
else {
|
||||
m_sPass = sArgs;
|
||||
SetNV("Password", m_sPass);
|
||||
SetArgs("");
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user