From cb427730e427047e432bd06d1d102e8385e36c60 Mon Sep 17 00:00:00 2001 From: John Reese Date: Sun, 4 Mar 2012 13:03:07 -0800 Subject: [PATCH] Use ints to be compatible with ZNC <= 0.094 --- push.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/push.cpp b/push.cpp index 9712b85..560e02d 100644 --- a/push.cpp +++ b/push.cpp @@ -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) {