# HG changeset patch # User Kim Alvefur # Date 1331151248 -3600 # Node ID bd6dc94d60e933125262a04456c8bcdd2dad96da # Parent 565ea0c1a7ea88801d03e43cd2ae369fc3bae6d7 mod_admin_adhoc: Use module:depends() diff -r 565ea0c1a7ea -r bd6dc94d60e9 plugins/mod_admin_adhoc.lua --- a/plugins/mod_admin_adhoc.lua Wed Mar 07 21:12:04 2012 +0100 +++ b/plugins/mod_admin_adhoc.lua Wed Mar 07 21:14:08 2012 +0100 @@ -24,6 +24,7 @@ local array = require "util.array"; local modulemanager = require "modulemanager"; +module:depends"adhoc"; local adhoc_new = module:require "adhoc".new; function add_user_command_handler(self, data, state)