changeset 136:927270e0b963

Updated config options and compatibility section.
author MWild1
date Wed, 30 Jun 2010 07:14:38 +0000
parents 2b79ecd3ece6
children eb945500dae4
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/	Thu Jun 17 09:18:45 2010 +0000
+++ b/	Wed Jun 30 07:14:38 2010 +0000
@@ -1,5 +1,5 @@
 #summary Redirect long messages to built-in pastebin
-#labels Stage-Beta
+#labels Stage-Stable
 = Introduction =
@@ -23,13 +23,15 @@
 = Configuration =
 ||pastebin_ports||List of ports to run the HTTP server on, same format as mod_httpserver's http_ports||
-||pastebin_threshold||Minimum length (in characters) of a message to be sent to the pastebin (default 500 characters)||
+||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_url||Base URL to display for pastebin links, must end with / and redirect to Prosody's built-in HTTP server||
 ||pastebin_expire_after||Number of hours after which to expire (remove) a paste, defaults to 24||
 = Compatibility =
 = Todo =