summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-12-09 02:12:46 +0000
committerPeter Powell <petpow@saberuk.com>2018-12-09 02:13:47 +0000
commit9361492b41918980f5f53de5cc25882958d20e36 (patch)
treebfd34da922dc704b113079cdabb630802de48c30
parenta4c1b1f4fcfd9cd967bf326afbbada3d91f9da34 (diff)
Raise the default max number of ACCEPT entries from 16 to 30.
-rw-r--r--docs/conf/modules.conf.example4
-rw-r--r--src/modules/m_callerid.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example
index f2e1d9e89..a5fe73948 100644
--- a/docs/conf/modules.conf.example
+++ b/docs/conf/modules.conf.example
@@ -288,14 +288,14 @@
#
#-#-#-#-#-#-#-#-#-#-#- 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">
diff --git a/src/modules/m_callerid.cpp b/src/modules/m_callerid.cpp
index f50bdeedf..cdb10c04c 100644
--- a/src/modules/m_callerid.cpp
+++ b/src/modules/m_callerid.cpp
@@ -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);
}