fix savebuff timer initialization

closes #868
This commit is contained in:
Thomas Kriechbaumer
2015-02-17 10:08:30 +00:00
committed by J-P Nurmi
parent 9366320693
commit ac3570f18a

View File

@@ -93,13 +93,13 @@ public:
else
m_sPassword = CBlowfish::MD5(sArgs);
AddTimer(new CSaveBuffJob(this, 60, 0, "SaveBuff", "Saves the current buffer to disk every 1 minute"));
return( !m_bBootError );
}
virtual bool OnBoot() override
{
AddTimer(new CSaveBuffJob(this, 60, 0, "SaveBuff", "Saves the current buffer to disk every 1 minute"));
CDir saveDir(GetSavePath());
for (CFile* pFile : saveDir) {
CString sName;