Changeset

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
parents 20:2675dc25445b
children 22:8d49732cf7dc
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	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 = {};