summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/tgbot/TgTypeParser.h3
-rw-r--r--include/tgbot/tools/FileTools.h2
2 files changed, 1 insertions, 4 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