aboutsummaryrefslogtreecommitdiffstats
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
commitb3ab537add25720535f7c7b63d2c17a45078d88e (patch)
tree1543cbabfed6965b5034eba7d70950724b957392
parentf6e5d8089bed53c826b41f7b982d5cd482b6b0f8 (diff)
downloadprosody-b3ab537add25720535f7c7b63d2c17a45078d88e.tar.gz
prosody-b3ab537add25720535f7c7b63d2c17a45078d88e.zip
moduleapi: Add luacheck annotation
-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