summaryrefslogtreecommitdiff
path: root/src/net/ea/chathandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-29 01:24:49 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-29 01:24:49 +0300
commitca130a19b36a78c6a23aa56c6ea82eaa187b0a06 (patch)
treea22f311c5698f3f4ee370c0f1d3cb05230a1da95 /src/net/ea/chathandler.cpp
parenteeffaaf3ab0593f815e772bfb523b9e7a94d45f5 (diff)
downloadmv-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.tar.gz
mv-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.tar.bz2
mv-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.tar.xz
mv-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.zip
Use time_t for time values.
Diffstat (limited to 'src/net/ea/chathandler.cpp')
-rw-r--r--src/net/ea/chathandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/chathandler.cpp b/src/net/ea/chathandler.cpp
index 8ce8ec59d..44a8cb736 100644
--- a/src/net/ea/chathandler.cpp
+++ b/src/net/ea/chathandler.cpp
@@ -35,7 +35,7 @@ ChatHandler::ChatHandler()
{
if (!ChatRecv::mSentWhispers.empty())
ChatRecv::mSentWhispers.pop();
- ChatRecv::mMotdTime = -1;
+ ChatRecv::mMotdTime = 0;
ChatRecv::mShowAllLang = serverConfig.getValue("showAllLang", 0);
ChatRecv::mShowMotd = config.getBoolValue("showmotd");
ChatRecv::mSkipping = true;