Software /
code /
prosody-modules
Diff
mod_pastebin/mod_pastebin.lua @ 21:4f18696f043a
mod_pastebin: Small fix to read the pastebin URL from the config
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 01 Oct 2009 20:58:11 +0100 |
parent | 13:135855b685d6 |
child | 23:92b1e6592d36 |
line wrap: on
line diff
--- a/mod_pastebin/mod_pastebin.lua Wed Sep 30 21:35:29 2009 +0200 +++ b/mod_pastebin/mod_pastebin.lua Thu Oct 01 20:58:11 2009 +0100 @@ -6,7 +6,7 @@ local length_threshold = config.get("*", "core", "pastebin_threshold") or 500; -local base_url; +local base_url = config.get(module.host, "core", "pastebin_url"); local pastes = {};