]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_conn_waitpong.cpp
Fix linking servers that are using the nationalchars module.
[user/henk/code/inspircd.git] / src / modules / m_conn_waitpong.cpp
index f2e9590c81ece0598613f0c73e28360d5cf0d2df..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);
        }
 
@@ -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;