Software /
code /
prosody
Changeset
5077:6c2c8bf36d22
moduleapi: Clarify comment
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 03 Aug 2012 14:07:41 +0100 |
parents | 5076:88fb94df9b18 |
children | 5078:cba0b426b542 5081:c0c060e450be |
files | core/moduleapi.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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;