# HG changeset patch # User Kim Alvefur # Date 1366788862 -7200 # Node ID 93ef813dfd0636a05f4d19a0482c92a966a180cd # Parent c4995b56c358d6ad9cdefd78f3876b0dac84b970 mod_swedishchef: Use newer config API diff -r c4995b56c358 -r 93ef813dfd06 mod_swedishchef/mod_swedishchef.lua --- 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 = {