summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/anope.example.conf4
-rw-r--r--src/misc.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/data/anope.example.conf b/data/anope.example.conf
index 64446ed80..4e81cd3c3 100644
--- a/data/anope.example.conf
+++ b/data/anope.example.conf
@@ -495,9 +495,9 @@ options
* NOTE: this currently only applies to tables but will be expanded to all messages
* in a later release.
*
- * Defaults to 120 if not set.
+ * Defaults to 100 if not set.
*/
- linelength = 120
+ linelength = 100
/* The regex engine to use, as provided by the regex modules.
* Leave commented to disable regex matching.
diff --git a/src/misc.cpp b/src/misc.cpp
index 0a6a38488..97b9d0604 100644
--- a/src/misc.cpp
+++ b/src/misc.cpp
@@ -160,7 +160,7 @@ void ListFormatter::Process(std::vector<Anope::string> &buffer)
lengths[column] = entry[column].length();
}
}
- const auto max_length = Config->GetBlock("options").Get<size_t>("linelength", "120");
+ const auto max_length = Config->GetBlock("options").Get<size_t>("linelength", "100");
unsigned total_length = 0;
for (const auto &[column, length] : lengths)
{
@@ -281,7 +281,7 @@ bool TextSplitter::GetLine(Anope::string &out)
out.append(fmt);
// The maximum length of a line.
- const auto max_length = Config->GetBlock("options").Get<size_t>("linelength", "120");
+ const auto max_length = Config->GetBlock("options").Get<size_t>("linelength", "100");
// The current printable length of the output.
size_t current_length = 0;