Skip to content

Commit

Permalink
Update luacheck
Browse files Browse the repository at this point in the history
  • Loading branch information
funkydude committed Mar 22, 2022
1 parent c19b99c commit 1d4cf78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ globals = {
"IsEncounterInProgress",
"IsGuildMember",
"PlayerLocation",
"SetCVar",
"tremove",
"UnitInParty",
"UnitInRaid",
Expand All @@ -43,4 +42,8 @@ globals = {
"GameTooltip_Hide",
"PlaySound",
"UIParent",

-- Classic
"BNGetGameAccountInfoByGUID",
"C_ChatInfo",
}
2 changes: 1 addition & 1 deletion BadBoy_Classic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ local repTbl = {

--[[ Chat Scanning ]]--
local Ambiguate, BNGetGameAccountInfoByGUID, strfind, gsub, lower, next, type, tremove = Ambiguate, BNGetGameAccountInfoByGUID, string.find, string.gsub, string.lower, next, type, tremove
local IsFriend, IsGuildMember, UnitInRaid, UnitInParty, SetCVar, GetCVarBool = C_FriendList.IsFriend, IsGuildMember, UnitInRaid, UnitInParty, SetCVar, GetCVarBool
local IsFriend, IsGuildMember, UnitInRaid, UnitInParty, SetCVar, GetCVarBool = C_FriendList.IsFriend, IsGuildMember, UnitInRaid, UnitInParty, C_CVar.SetCVar, C_CVar.GetCVarBool
local CanReportPlayer, ReportPlayer, PlayerLocation = C_ChatInfo.CanReportPlayer, C_ChatInfo.ReportPlayer, PlayerLocation
local spamCollector, spamLogger, prevShow, enableBubble = {}, {}, 0, false
local blockedLineId, et, chatLines, chatPlayers = 0, 7, {}, {}
Expand Down

0 comments on commit 1d4cf78

Please sign in to comment.