aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_permchannels.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-03-14 04:55:01 +0000
committerGravatar Sadie Powell2021-03-17 04:16:24 +0000
commit8cb6691601602e560fbf3cb2122dd4e12bb4bcf1 (patch)
treeaca1965bdc281e9bbaf4490ccff63ceab09ee166 /src/modules/m_permchannels.cpp
parentMerge branch 'insp3' into master. (diff)
parentDefault <permchannelsdb:listmodes> to on. (diff)
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules/m_permchannels.cpp')
-rw-r--r--src/modules/m_permchannels.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_permchannels.cpp b/src/modules/m_permchannels.cpp
index 17f7783a9..da3cd7057 100644
--- a/src/modules/m_permchannels.cpp
+++ b/src/modules/m_permchannels.cpp
@@ -185,7 +185,7 @@ public:
{
auto tag = ServerInstance->Config->ConfValue("permchanneldb");
permchannelsconf = tag->getString("filename");
- save_listmodes = tag->getBool("listmodes");
+ save_listmodes = tag->getBool("listmodes", true);
SetInterval(tag->getDuration("saveperiod", 5));
if (!permchannelsconf.empty())