Software /
code /
prosody-modules
Changeset
13:135855b685d6
mod_pastebin: Set default of 500 chars for pastebin_threshold
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 25 Sep 2009 22:22:58 +0100 |
parents | 12:316e8437f233 |
children | 14:0892941186f2 |
files | mod_pastebin/mod_pastebin.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_pastebin/mod_pastebin.lua Fri Sep 25 21:54:16 2009 +0100 +++ b/mod_pastebin/mod_pastebin.lua Fri Sep 25 22:22:58 2009 +0100 @@ -4,7 +4,7 @@ local uuid_new = require "util.uuid".generate; local os_time = os.time; -local length_threshold = config.get("*", "core", "pastebin_threshold"); +local length_threshold = config.get("*", "core", "pastebin_threshold") or 500; local base_url;