aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-05-06 19:02:44 +0100
committerMatthew Wild <mwild1@gmail.com>2015-05-06 19:02:44 +0100
commita068b1d383cec6efe572ade50a60df2f9d6f1de5 (patch)
tree1543cbabfed6965b5034eba7d70950724b957392 /core
parente5323b0c7fac6ae251228473407591139dcd0e58 (diff)
downloadprosody-a068b1d383cec6efe572ade50a60df2f9d6f1de5.tar.gz
prosody-a068b1d383cec6efe572ade50a60df2f9d6f1de5.zip
moduleapi: Add luacheck annotation
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 fbb131ec..9e07d6a9 100644
--- a/core/moduleapi.lua
+++ b/core/moduleapi.lua
@@ -55,7 +55,7 @@ function api:set_global()
self.host = "*";
-- Update the logger
local _log = logger.init("mod_"..self.name);
- self.log = function (self, ...) return _log(...); end;
+ self.log = function (self, ...) return _log(...); end; --luacheck: ignore self
self._log = _log;
self.global = true;
end