]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Change the default for <waitpong:sendsnotice> to false.
authorPeter Powell <petpow@saberuk.com>
Fri, 29 Nov 2019 13:46:24 +0000 (13:46 +0000)
committerPeter Powell <petpow@saberuk.com>
Fri, 29 Nov 2019 13:48:13 +0000 (13:48 +0000)
This message exists for an incredibly rare issue and just confuses
the vast majority of people.

docs/conf/modules.conf.example
src/modules/m_conn_waitpong.cpp

index cee78543630f748216581cd8a5691901b134084a..ae747e3a03680d1f5b7ad2841c6a48803fa115b5 100644 (file)
 # 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
index d2de63b3f353d076bdad008b4279182d451ad2f2..c093c6cd6ccffb649124ecdb4e46273cc6038b2f 100644 (file)
@@ -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);
        }