From f673719d1cd18ab94998d42d262d1fc92c8494ff Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Thu, 9 Jan 2020 21:29:17 -0800 Subject: [PATCH] doc/Registry.md: fix regex --- doc/Registry.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/Registry.md b/doc/Registry.md index bac3472a..5e331d14 100644 --- a/doc/Registry.md +++ b/doc/Registry.md @@ -152,8 +152,8 @@ This is a list of recognized registry items at the time of this writing. Name | Description | Default value --- | --- | --- -antiaway.bad_actions | If a message matches against this regex, it is considered an Away action. | `^/me (is (away|gone)|.*auto.?away)` -antiaway.bad_nicks | If someone changes their nick and the new nick matches this regex, it is considered an Away nick. | `(^z+[[:punct:]]|[[:punct:]](afk|brb|bbl|away|sleep|asleep|nap|z+|work|gone|study|out|home|busy|off)[[:punct:]]*$|afk$)` +antiaway.bad_actions | If a message matches against this regex, it is considered an Away action. | `^/me (is (away\|gone)\|.*auto.?away)` +antiaway.bad_nicks | If someone changes their nick and the new nick matches this regex, it is considered an Away nick. | `(^z+[[:punct:]]\|[[:punct:]](afk\|brb\|bbl\|away\|sleep\|asleep\|nap\|z+\|work\|gone\|study\|out\|home\|busy\|off)[[:punct:]]*$\|afk$)` antiaway.kick_msg | The message to use when kicking Away offenders. | http://sackheads.org/~bnaylor/spew/away_msgs.html antiflood.chat_flood_punishment | The amount of time, in seconds, offenders will be muted/banned. | 60,300,3600,86400,604800,2419200 antiflood.chat_flood_threshold | The number of messages before this is considered a flood. | 4