From 694c121908d80844a679bbbdf875c639627ec73c Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Fri, 29 Nov 2019 13:46:24 +0000 Subject: [PATCH] Change the default for to false. This message exists for an incredibly rare issue and just confuses the vast majority of people. --- docs/conf/modules.conf.example | 2 +- src/modules/m_conn_waitpong.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example index cee785436..ae747e3a0 100644 --- a/docs/conf/modules.conf.example +++ b/docs/conf/modules.conf.example @@ -617,7 +617,7 @@ # killonbadreply - Whether to kill the user if they send the wrong # # PONG reply. # # # -# +# #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # Channel cycle module: Adds the /CYCLE command which is a server-side diff --git a/src/modules/m_conn_waitpong.cpp b/src/modules/m_conn_waitpong.cpp index d2de63b3f..c093c6cd6 100644 --- a/src/modules/m_conn_waitpong.cpp +++ b/src/modules/m_conn_waitpong.cpp @@ -39,7 +39,7 @@ class ModuleWaitPong : public Module void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE { ConfigTag* tag = ServerInstance->Config->ConfValue("waitpong"); - sendsnotice = tag->getBool("sendsnotice", true); + sendsnotice = tag->getBool("sendsnotice", false); killonbadreply = tag->getBool("killonbadreply", true); }