summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-02-29 21:56:14 +0000
committerSadie Powell <sadie@witchery.services>2024-02-29 21:56:14 +0000
commit1c1645096f953aa06b5809be6b302015b5bc73d6 (patch)
treebe03513aa05c44ea017ca4ecb1e6c497dd231857 /data
parente0ac5509b4020cb6e78c6b7c591ef2e7f6314ced (diff)
If a user runs an invalid command try to suggest a valid one.
Diffstat (limited to 'data')
-rw-r--r--data/anope.example.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/anope.example.conf b/data/anope.example.conf
index fb90a2f08..86c124e66 100644
--- a/data/anope.example.conf
+++ b/data/anope.example.conf
@@ -523,6 +523,12 @@ options
*/
hideregisteredcommands = yes
+ /*
+ * If set, the maximum difference between an invalid and valid command name to allow
+ * as a suggestion. Defaults to 4.
+ */
+ didyoumeandifference = 4
+
/* The regex engine to use, as provided by the regex modules.
* Leave commented to disable regex matching.
*