]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix waitpong referring to registration timeouts as ping timeouts.
authorPeter Powell <petpow@saberuk.com>
Fri, 9 Aug 2019 02:03:34 +0000 (03:03 +0100)
committerPeter Powell <petpow@saberuk.com>
Fri, 9 Aug 2019 02:46:23 +0000 (03:46 +0100)
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

index f2e9590c81ece0598613f0c73e28360d5cf0d2df..d2de63b3f353d076bdad008b4279182d451ad2f2 100644 (file)
@@ -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;