mod_swedishchef/mod_swedishchef.lua
changeset 985 93ef813dfd06
parent 26 1fb5b8c20004
child 1343 7dbde05b48a9
--- 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 = {