# HG changeset patch # User Kim Alvefur # Date 1391361162 -3600 # Node ID b1a92a87309c3a61fd2be3c6663276e800162b53 # Parent dfe1818962f56cc6bd5df0cf30a760ccdf5bdcf5 mod_vjud: Move instructions into a config option diff -r dfe1818962f5 -r b1a92a87309c mod_vjud/mod_vjud.lua --- a/mod_vjud/mod_vjud.lua Sat Feb 01 04:42:30 2014 +0500 +++ b/mod_vjud/mod_vjud.lua Sun Feb 02 18:12:42 2014 +0100 @@ -12,15 +12,17 @@ local st = require "util.stanza"; local template = require "util.template"; +local instructions = module:get_option_string("vjud_instructions", "Fill in one or more fields to search for any matching Jabber users."); + local get_reply = template[[ - Fill in one or more fields to search for any matching Jabber users. + {instructions} -]].apply({}); +]].apply({ instructions = instructions }); local item_template = template[[ {first}