From 9abda66396832482b9b1a1c16038485934ad5988 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 3 Aug 2012 14:07:41 +0100 Subject: moduleapi: Clarify comment --- core/moduleapi.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/moduleapi.lua b/core/moduleapi.lua index c98a7e4b..df33e8ec 100644 --- a/core/moduleapi.lua +++ b/core/moduleapi.lua @@ -125,7 +125,7 @@ function api:depends(name) local mod = modulemanager.get_module(self.host, name) or modulemanager.get_module("*", name); if mod and mod.module.host == "*" and self.host ~= "*" and modulemanager.module_has_method(mod, "add_host") then - mod = nil; -- This is a shared module, so we still want to load it on our host + mod = nil; -- Target is a shared module, so we still want to load it on our host end if not mod then local err; -- cgit v1.2.3