Diff

plugins/mod_uptime.lua @ 8962:6c06bd455bbf

mod_uptime: Depend on mod_adhoc
author Kim Alvefur <zash@zash.se>
date Mon, 02 Jul 2018 23:42:00 +0200
parent 8344:071c0523c4cb
child 9226:affd84be3fc3
line wrap: on
line diff
--- a/plugins/mod_uptime.lua	Mon Jul 02 23:41:47 2018 +0200
+++ b/plugins/mod_uptime.lua	Mon Jul 02 23:42:00 2018 +0200
@@ -23,6 +23,7 @@
 end);
 
 -- Ad-hoc command
+module:depends "adhoc";
 local adhoc_new = module:require "adhoc".new;
 
 function uptime_text()