summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-11-29 13:46:24 +0000
committerPeter Powell <petpow@saberuk.com>2019-11-29 13:48:13 +0000
commit694c121908d80844a679bbbdf875c639627ec73c (patch)
tree572ff1a31ef31bce7d25002d6fa7d39fdb0e284d
parentdf2a3d6fc49ec91b2e0396667df8038fc33b8063 (diff)
Change the default for <waitpong:sendsnotice> to false.
This message exists for an incredibly rare issue and just confuses the vast majority of people.
-rw-r--r--docs/conf/modules.conf.example2
-rw-r--r--src/modules/m_conn_waitpong.cpp2
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. #
# #
-#<waitpong sendsnotice="yes" killonbadreply="yes">
+#<waitpong sendsnotice="no" killonbadreply="yes">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# 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);
}