Software /
code /
prosody
Changeset
11497:960674938665
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.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 01 Apr 2021 12:30:55 +0200 |
parents | 11496:8bf632540197 |
children | 11498:d61ec5e6ee16 |
files | net/server_epoll.lua |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server_epoll.lua Wed Mar 31 09:43:05 2021 +0200 +++ b/net/server_epoll.lua Thu Apr 01 12:30:55 2021 +0200 @@ -179,18 +179,18 @@ 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