summaryrefslogtreecommitdiff
path: root/protocols/MinecraftDynmap/src/proto.h
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2018-02-24 15:32:06 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2018-02-24 18:20:46 +0100
commit1c0172cca4f1e90679321912e20436a7f42f122d (patch)
tree77a544d2c09332ec176f42ebcf58a40d9c5d2b93 /protocols/MinecraftDynmap/src/proto.h
parentdff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 (diff)
more nullptr
Diffstat (limited to 'protocols/MinecraftDynmap/src/proto.h')
-rw-r--r--protocols/MinecraftDynmap/src/proto.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/MinecraftDynmap/src/proto.h b/protocols/MinecraftDynmap/src/proto.h
index cc5b296c48..15327988f5 100644
--- a/protocols/MinecraftDynmap/src/proto.h
+++ b/protocols/MinecraftDynmap/src/proto.h
@@ -70,7 +70,7 @@ public:
// Chat handling
void AddChat(const char *id, const char *name);
- void UpdateChat(const char *name, const char *message, const time_t timestamp = time(NULL), bool addtochat = true);
+ void UpdateChat(const char *name, const char *message, const time_t timestamp = time(nullptr), bool addtochat = true);
void AddChatContact(const char *nick);
void DeleteChatContact(const char *name);
void SetChatStatus(int);
@@ -110,8 +110,8 @@ public:
void __inline reset_error() { error_count_ = 0; }
// HTTP communication
- http::response sendRequest(const int request_type, std::string *post_data = NULL, std::string *get_data = NULL);
- std::string chooseAction(int, std::string *get_data = NULL);
+ http::response sendRequest(const int request_type, std::string *post_data = nullptr, std::string *get_data = nullptr);
+ std::string chooseAction(int, std::string *get_data = nullptr);
NETLIBHTTPHEADER *get_request_headers(int request_type, int *headers_count);
// Requests and processing