diff options
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/chathandler.cpp | 2 | ||||
-rw-r--r-- | src/net/ea/chatrecv.cpp | 2 | ||||
-rw-r--r-- | src/net/ea/chatrecv.h | 2 |
3 files changed, 3 insertions, 3 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; diff --git a/src/net/ea/chatrecv.cpp b/src/net/ea/chatrecv.cpp index 4e4695cf6..ee994b7e4 100644 --- a/src/net/ea/chatrecv.cpp +++ b/src/net/ea/chatrecv.cpp @@ -46,7 +46,7 @@ namespace Ea namespace ChatRecv { WhisperQueue mSentWhispers; - int mMotdTime = -1; + time_t mMotdTime = 0; bool mShowAllLang = false; bool mShowMotd = false; bool mSkipping = true; diff --git a/src/net/ea/chatrecv.h b/src/net/ea/chatrecv.h index 374d6c12a..2904fc58b 100644 --- a/src/net/ea/chatrecv.h +++ b/src/net/ea/chatrecv.h @@ -53,7 +53,7 @@ namespace Ea std::string getLastWhisperNick(); extern WhisperQueue mSentWhispers; - extern int mMotdTime; + extern time_t mMotdTime; extern bool mShowAllLang; extern bool mShowMotd; extern bool mSkipping; |