]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Raise the default max number of ACCEPT entries from 16 to 30.
authorPeter Powell <petpow@saberuk.com>
Sun, 9 Dec 2018 02:12:46 +0000 (02:12 +0000)
committerPeter Powell <petpow@saberuk.com>
Sun, 9 Dec 2018 02:13:47 +0000 (02:13 +0000)
docs/conf/modules.conf.example
src/modules/m_callerid.cpp

index f2e1d9e890f08cdf1b66832a8f481136a64f2fa9..a5fe7394896d723fde4c75c0a8862a47cc6071a6 100644 (file)
 #
 #-#-#-#-#-#-#-#-#-#-#- CALLERID  CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
 # maxaccepts     - Maximum number of entries a user can add to his    #
-#                  /ACCEPT list. Default is 16 entries.               #
+#                  /ACCEPT list. Default is 30 entries.               #
 # tracknick      - Preserve /accept entries when a user changes nick? #
 #                  If no (the default), the user is removed from      #
 #                  everyone's accept list if he changes nickname.     #
 # cooldown       - Amount of time that must pass since the last       #
 #                  notification sent to a user before he can be sent  #
 #                  another. Default is 1 minute.                      #
-#<callerid maxaccepts="16"
+#<callerid maxaccepts="30"
 #          tracknick="no"
 #          cooldown="1m">
 
index f50bdeedff3ca2b5e6e970d46a86de21d9f755e7..cdb10c04c79ebc197fed3d64a758582be5a8982a 100644 (file)
@@ -418,7 +418,7 @@ public:
        void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE
        {
                ConfigTag* tag = ServerInstance->Config->ConfValue("callerid");
-               cmd.maxaccepts = tag->getUInt("maxaccepts", 16);
+               cmd.maxaccepts = tag->getUInt("maxaccepts", 30);
                tracknick = tag->getBool("tracknick");
                notify_cooldown = tag->getDuration("cooldown", 60);
        }