From: Peter Powell Date: Fri, 9 Aug 2019 02:03:34 +0000 (+0100) Subject: Fix waitpong referring to registration timeouts as ping timeouts. X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=541c461cca2c734354bd009c530265db2005df58;p=user%2Fhenk%2Fcode%2Finspircd.git 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. --- 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;