Use ints to be compatible with ZNC <= 0.094

This commit is contained in:
John Reese 2012-03-04 13:03:07 -08:00
parent 143ef1a07f
commit cb427730e4
1 changed files with 2 additions and 2 deletions

View File

@ -1038,7 +1038,7 @@ class CPushMod : public CModule
}
CString file_path = command.Token(1, true, " ");
MCString::status_t status = options.WriteToDisk(file_path);
int status = options.WriteToDisk(file_path);
if (status == MCString::MCS_SUCCESS)
{
@ -1075,7 +1075,7 @@ class CPushMod : public CModule
return;
}
MCString::status_t status = options.ReadFromDisk(file_path);
int status = options.ReadFromDisk(file_path);
if (status == MCString::MCS_SUCCESS)
{