Changeset

8962:6c06bd455bbf

mod_uptime: Depend on mod_adhoc
author Kim Alvefur <zash@zash.se>
date Mon, 02 Jul 2018 23:42:00 +0200
parents 8961:5d4ebceaf8aa
children 8963:ff522d5db95d
files plugins/mod_uptime.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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()