mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Make watch save its settings and add CModule::ClearNV()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1304 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -279,6 +279,15 @@ bool CModule::DelNV(const CString & sName, bool bWriteToDisk) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool CModule::ClearNV(bool bWriteToDisk) {
|
||||
m_mssRegistry.clear();
|
||||
|
||||
if (bWriteToDisk) {
|
||||
return SaveRegistry();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
bool CModule::AddTimer(CTimer* pTimer) {
|
||||
if ((!pTimer) || (FindTimer(pTimer->GetName()))) {
|
||||
delete pTimer;
|
||||
|
||||
Reference in New Issue
Block a user