Software /
code /
prosody-modules
Changeset
985:93ef813dfd06
mod_swedishchef: Use newer config API
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 24 Apr 2013 09:34:22 +0200 |
parents | 984:c4995b56c358 |
children | 986:8b1250df82e8 |
files | mod_swedishchef/mod_swedishchef.lua |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_swedishchef/mod_swedishchef.lua Thu Apr 18 14:51:50 2013 +0200 +++ b/mod_swedishchef/mod_swedishchef.lua Wed Apr 24 09:34:22 2013 +0200 @@ -4,9 +4,8 @@ -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- -local st = require "util.stanza"; -local trigger_string = config.get(module.host, "core", "swedishchef_trigger"); +local trigger_string = module:get_option_string("swedishchef_trigger"); trigger_string = (trigger_string and trigger_string .. " ") or ""; local chef = {