summaryrefslogtreecommitdiff
path: root/src/net/tmwa
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/tmwa
parenteeffaaf3ab0593f815e772bfb523b9e7a94d45f5 (diff)
downloadManaVerse-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.tar.gz
ManaVerse-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.tar.bz2
ManaVerse-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.tar.xz
ManaVerse-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.zip
Use time_t for time values.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/chatrecv.cpp2
-rw-r--r--src/net/tmwa/guildmanager.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/chatrecv.cpp b/src/net/tmwa/chatrecv.cpp
index 54c13545a..1d74fef4c 100644
--- a/src/net/tmwa/chatrecv.cpp
+++ b/src/net/tmwa/chatrecv.cpp
@@ -93,7 +93,7 @@ void ChatRecv::processChatContinue(std::string chatMsg,
channel.empty())
{
// skip motd from "new" tmw server
- if (Ea::ChatRecv::mMotdTime == -1)
+ if (Ea::ChatRecv::mMotdTime == 0)
{
Ea::ChatRecv::mMotdTime = cur_time + 1;
}
diff --git a/src/net/tmwa/guildmanager.h b/src/net/tmwa/guildmanager.h
index 24ace9e77..b47c498d6 100644
--- a/src/net/tmwa/guildmanager.h
+++ b/src/net/tmwa/guildmanager.h
@@ -96,7 +96,7 @@ class GuildManager final
StringVect mTempList;
EmulateGuildTab *mTab;
bool mRequest;
- int mRequestTime;
+ time_t mRequestTime;
bool mGotOnlineInfo;
};