diff options
-rw-r--r-- | include/tgbot/TgTypeParser.h | 3 | ||||
-rw-r--r-- | include/tgbot/tools/FileTools.h | 2 | ||||
-rw-r--r-- | src/tools/FileTools.cpp | 2 |
3 files changed, 2 insertions, 5 deletions
diff --git a/include/tgbot/TgTypeParser.h b/include/tgbot/TgTypeParser.h index 89c6dec..e593d6a 100644 --- a/include/tgbot/TgTypeParser.h +++ b/include/tgbot/TgTypeParser.h @@ -361,9 +361,6 @@ private: } void appendToJson(std::string& json, const std::string& varName, const bool& value) const { - if (value == 0) { - return; - } json += '"'; json += varName; json += "\":"; diff --git a/include/tgbot/tools/FileTools.h b/include/tgbot/tools/FileTools.h index 6071852..7329a8e 100644 --- a/include/tgbot/tools/FileTools.h +++ b/include/tgbot/tools/FileTools.h @@ -1,5 +1,5 @@ // -// Created by Oleg on 25.01.17. +// Created by Oleg Morozenkov on 25.01.17. // #ifndef TGBOT_FILETOOLS_H diff --git a/src/tools/FileTools.cpp b/src/tools/FileTools.cpp index 1522a9d..e92e96d 100644 --- a/src/tools/FileTools.cpp +++ b/src/tools/FileTools.cpp @@ -1,5 +1,5 @@ // -// Created by Oleg on 25.01.17. +// Created by Oleg Morozenkov on 25.01.17. // #include "tgbot/tools/FileTools.h" |