# HG changeset patch # User Matthew Wild # Date 1254427091 -3600 # Node ID 4f18696f043a95d77fc3ccf61cf005b7feda4edb # Parent 2675dc25445b9708cb70663456b07bb9cd07e232 mod_pastebin: Small fix to read the pastebin URL from the config diff -r 2675dc25445b -r 4f18696f043a 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 = {};