summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-08-09 03:03:34 +0100
committerPeter Powell <petpow@saberuk.com>2019-08-09 03:46:23 +0100
commit541c461cca2c734354bd009c530265db2005df58 (patch)
tree1b16f93da60050bffa0cc3b45f05ab5728943a8c
parent932121c6ffa25e343b83210888469c5e3f2e12a8 (diff)
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.
-rw-r--r--src/modules/m_conn_waitpong.cpp2
1 files changed, 1 insertions, 1 deletions
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;