Diff

core/moduleapi.lua @ 5077:6c2c8bf36d22

moduleapi: Clarify comment
author Matthew Wild <mwild1@gmail.com>
date Fri, 03 Aug 2012 14:07:41 +0100
parent 5053:375ab71e4b37
child 5161:3275a9705ef3
line wrap: on
line diff
--- a/core/moduleapi.lua	Thu Aug 02 21:42:00 2012 +0200
+++ b/core/moduleapi.lua	Fri Aug 03 14:07:41 2012 +0100
@@ -125,7 +125,7 @@
 	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;