summaryrefslogtreecommitdiff
path: root/protocols/MinecraftDynmap/src/proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-03 16:02:14 +0200
committerGeorge Hazan <ghazan@miranda.im>2018-05-03 16:02:14 +0200
commit3ad2582c4a4a6378f294f9256ecbcbdf0ae88e3a (patch)
tree412a28ef6a572efc7039df1c363bf47a3dec4b19 /protocols/MinecraftDynmap/src/proto.h
parent9a6f750a482d1d1ebf4281bb7bf8133e547ad438 (diff)
mir_forkThread<typename> - stronger typizatioin for thread function parameter
Diffstat (limited to 'protocols/MinecraftDynmap/src/proto.h')
-rw-r--r--protocols/MinecraftDynmap/src/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MinecraftDynmap/src/proto.h b/protocols/MinecraftDynmap/src/proto.h
index 9979e62ed8..00e7803932 100644
--- a/protocols/MinecraftDynmap/src/proto.h
+++ b/protocols/MinecraftDynmap/src/proto.h
@@ -66,7 +66,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(nullptr), bool addtochat = true);
+ void UpdateChat(const char *name, const char *message, const time_t timestamp = time(0), bool addtochat = true);
void AddChatContact(const char *nick);
void DeleteChatContact(const char *name);
void SetChatStatus(int);