aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-08-03 14:07:41 +0100
committerMatthew Wild <mwild1@gmail.com>2012-08-03 14:07:41 +0100
commit537e1447c2d65576c2d8c37b1197c6ed897534a0 (patch)
tree44c4c25e5ddfffddfa67df00e8a7f29a9a858763 /core
parentddb2f794f7ea3b05a88f8cea6a2d7d17b12d1205 (diff)
downloadprosody-537e1447c2d65576c2d8c37b1197c6ed897534a0.tar.gz
prosody-537e1447c2d65576c2d8c37b1197c6ed897534a0.zip
moduleapi: Clarify comment
Diffstat (limited to 'core')
-rw-r--r--core/moduleapi.lua2
1 files changed, 1 insertions, 1 deletions
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;