mod_pastebin: Small fix to read the pastebin URL from the config
authorMatthew Wild <mwild1@gmail.com>
Thu, 01 Oct 2009 20:58:11 +0100
changeset 21 4f18696f043a
parent 20 2675dc25445b
child 22 8d49732cf7dc
mod_pastebin: Small fix to read the pastebin URL from the config
mod_pastebin/mod_pastebin.lua
--- 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 = {};