mirror of https://github.com/SeanOMik/znc-push.git
Use ints to be compatible with ZNC <= 0.094
This commit is contained in:
parent
143ef1a07f
commit
cb427730e4
4
push.cpp
4
push.cpp
|
@ -1038,7 +1038,7 @@ class CPushMod : public CModule
|
||||||
}
|
}
|
||||||
|
|
||||||
CString file_path = command.Token(1, true, " ");
|
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)
|
if (status == MCString::MCS_SUCCESS)
|
||||||
{
|
{
|
||||||
|
@ -1075,7 +1075,7 @@ class CPushMod : public CModule
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
MCString::status_t status = options.ReadFromDisk(file_path);
|
int status = options.ReadFromDisk(file_path);
|
||||||
|
|
||||||
if (status == MCString::MCS_SUCCESS)
|
if (status == MCString::MCS_SUCCESS)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue