diff --git a/akashi/main.cpp b/akashi/main.cpp index bf8adf06..f94091aa 100644 --- a/akashi/main.cpp +++ b/akashi/main.cpp @@ -34,7 +34,7 @@ int main(int argc, char *argv[]) { QCoreApplication app(argc, argv); QCoreApplication::setApplicationName("akashi"); - QCoreApplication::setApplicationVersion("honeydew (1.8)"); + QCoreApplication::setApplicationVersion("honeydew hotfix (1.8.1)"); std::atexit(cleanup); // Verify server configuration is sound. diff --git a/core/src/area_data.cpp b/core/src/area_data.cpp index 03cb1ecd..a0d9c730 100644 --- a/core/src/area_data.cpp +++ b/core/src/area_data.cpp @@ -326,6 +326,7 @@ bool AreaData::isShoutAllowed() const void AreaData::startMessageFloodguard(int f_duration) { m_can_send_ic_messages = false; + m_message_floodguard_timer->setSingleShot(true); m_message_floodguard_timer->start(f_duration); } diff --git a/core/src/server.cpp b/core/src/server.cpp index cb075ba7..8074495b 100644 --- a/core/src/server.cpp +++ b/core/src/server.cpp @@ -144,6 +144,7 @@ void Server::start() // Rate-Limiter for IC-Chat m_message_floodguard_timer = new QTimer(this); + m_message_floodguard_timer->setSingleShot(true); connect(m_message_floodguard_timer, &QTimer::timeout, this, &Server::allowMessage); // Prepare player IDs and reference hash.