diff options
-rw-r--r-- | docs/conf/modules.conf.example | 2 | ||||
-rw-r--r-- | 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. # # # -#<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); } |