Fix: linter warnings
parent
7ada3c96eb
commit
4f82eb5550
6
init.lua
6
init.lua
|
@ -1439,9 +1439,9 @@ local function clean_join_cache(name)
|
|||
end
|
||||
|
||||
-- fix irc mod with an override
|
||||
if irc then
|
||||
irc.reply = function(message)
|
||||
if not irc.last_from then
|
||||
if irc then -- luacheck: ignore
|
||||
irc.reply = function(message) -- luacheck: ignore
|
||||
if not irc.last_from then -- luacheck: ignore
|
||||
return
|
||||
end
|
||||
message = message:gsub("[\r\n%z]", " \\n ")
|
||||
|
|
Loading…
Reference in New Issue