diff options
author | Kim Alvefur <zash@zash.se> | 2021-04-01 12:30:55 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-04-01 12:30:55 +0200 |
commit | 40c620c7e801258baad41809a3a793128220e46e (patch) | |
tree | ed80d104a55e7a0b1f40dadf00d86556c99a00ff /net | |
parent | d8613bb7b96e780938a522c6d44d8718ca8d9122 (diff) | |
download | prosody-40c620c7e801258baad41809a3a793128220e46e.tar.gz prosody-40c620c7e801258baad41809a3a793128220e46e.zip |
net.server_epoll: Remove unnecessary luacheck annotations
Not sure why these were here to begin with, since it does use the 'self'
argument and did so since they were added.
Diffstat (limited to 'net')
-rw-r--r-- | net/server_epoll.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua index d289558c..34a11c03 100644 --- a/net/server_epoll.lua +++ b/net/server_epoll.lua @@ -179,18 +179,18 @@ function interface_mt:__tostring() end interface.log = log; -function interface:debug(msg, ...) --luacheck: ignore 212/self +function interface:debug(msg, ...) self.log("debug", msg, ...); end interface.noise = interface.debug; -function interface:noise(msg, ...) --luacheck: ignore 212/self +function interface:noise(msg, ...) if cfg.verbose then return self:debug(msg, ...); end end -function interface:error(msg, ...) --luacheck: ignore 212/self +function interface:error(msg, ...) self.log("error", msg, ...); end |