From 541c461cca2c734354bd009c530265db2005df58 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Fri, 9 Aug 2019 03:03:34 +0100 Subject: [PATCH] Fix waitpong referring to registration timeouts as ping timeouts. If the client does not send a PONG message in time then they will receive a registration timeout. The client will only receive a ping timeout in response to a unanswered PING whilst fuilly connected to the server. --- src/modules/m_conn_waitpong.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_conn_waitpong.cpp b/src/modules/m_conn_waitpong.cpp index f2e9590c8..d2de63b3f 100644 --- a/src/modules/m_conn_waitpong.cpp +++ b/src/modules/m_conn_waitpong.cpp @@ -52,7 +52,7 @@ class ModuleWaitPong : public Module } if(sendsnotice) - user->WriteNotice("*** If you are having problems connecting due to ping timeouts, please type /quote PONG " + pingrpl + " or /raw PONG " + pingrpl + " now."); + user->WriteNotice("*** If you are having problems connecting due to registration timeouts type /quote PONG " + pingrpl + " or /raw PONG " + pingrpl + " now."); ext.set(user, pingrpl); return MOD_RES_PASSTHRU; -- 2.39.2