mirror of
https://github.com/znc/znc.git
synced 2026-08-07 01:13:25 +02:00
Merge pull request #739 from markusj/savebuff-handle-empty-password
savebuff: Handle empty passwords identical in SetPass, and in OnLoad
This commit is contained in:
@@ -215,6 +215,9 @@ public:
|
||||
{
|
||||
CString sArgs = sCmdLine.Token(1, true);
|
||||
|
||||
if(sArgs.empty())
|
||||
sArgs = CRYPT_LAME_PASS;
|
||||
|
||||
PutModule("Password set to [" + sArgs + "]");
|
||||
m_sPassword = CBlowfish::MD5(sArgs);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user