diff options
| author | 2020-04-09 15:18:04 +0100 | |
|---|---|---|
| committer | 2020-04-09 15:18:04 +0100 | |
| commit | bb39d78be61e45555cdd87985e26ea07b725fabf (patch) | |
| tree | 157dc8144dca9d65eec162773fe3f845e6a5582f /src/modules/m_xline_db.cpp | |
| parent | Allow <passforward:forwardmsg> to be optional. (diff) | |
Set the minimum length to 1 for most config items with a default.
Diffstat (limited to 'src/modules/m_xline_db.cpp')
| -rw-r--r-- | src/modules/m_xline_db.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_xline_db.cpp b/src/modules/m_xline_db.cpp index 2b0b333d7..21c83549f 100644 --- a/src/modules/m_xline_db.cpp +++ b/src/modules/m_xline_db.cpp @@ -53,7 +53,7 @@ class ModuleXLineDB * ...and so is discarding all current in-memory XLines for the ones in the database. */ ConfigTag* Conf = ServerInstance->Config->ConfValue("xlinedb"); - xlinedbpath = ServerInstance->Config->Paths.PrependData(Conf->getString("filename", "xline.db")); + xlinedbpath = ServerInstance->Config->Paths.PrependData(Conf->getString("filename", "xline.db", 1)); SetInterval(Conf->getDuration("saveperiod", 5)); // Read xlines before attaching to events |
