diff mod_pastebin/README.md @ 6334:ad9026b6a714

mod_pastebin: Add pastebin_ignore option, to allow suppressing pastebin behaviour (thanks Zaak)
author Matthew Wild <mwild1@gmail.com>
date Fri, 03 Oct 2025 11:24:42 +0100
parents fe0a58b863db
children 1f00618ad3be
line wrap: on
line diff
--- a/mod_pastebin/README.md	Thu Oct 02 14:41:18 2025 +0100
+++ b/mod_pastebin/README.md	Fri Oct 03 11:24:42 2025 +0100
@@ -83,6 +83,7 @@
   pastebin_threshold        Maximum length (in characters) of a message that is allowed to skip the pastebin. (default 500 characters)
   pastebin_line_threshold   The maximum number of lines a message may have before it is sent to the pastebin. (default 4 lines)
   pastebin_trigger          A string of characters (e.g. "!paste ") which if detected at the start of a message, always sends the message to the pastebin, regardless of length. (default: not set)
+  pastebin_ignore           A string of characters (e.g. "!nopaste") which if detected **anywhere** within a message, won't send the message to the pastebin
   pastebin_expire_after     Number of hours after which to expire (remove) a paste, defaults to 24. Set to 0 to store pastes permanently on disk.
 
 # Compatibility