summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-03-14 02:59:13 +0000
committerSadie Powell <sadie@witchery.services>2021-03-14 02:59:13 +0000
commit37f068576e844da8b6d75853214ce7553adb3a15 (patch)
tree8dde516c2b76aa43c30f47285f353ccedeb89ff9 /src
parent0a329440bd1d0fa642ce2f3e14bc88125377b5bd (diff)
Default <permchannelsdb:listmodes> to on.
Diffstat (limited to 'src')
-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 0f3ac001d..fdc75ec34 100644
--- a/src/modules/m_permchannels.cpp
+++ b/src/modules/m_permchannels.cpp
@@ -186,7 +186,7 @@ public:
{
ConfigTag* 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())