summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-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())