Skip to content

Commit ddf8ff0

Browse files
committed
AceTab-3.0/AceTab-3.0: NUM_CHAT_WINDOWS was replaced by Constants.ChatFrameConstants.MaxChatWindows
1 parent c628a09 commit ddf8ff0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.luacheckrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ read_globals = {
8282
"CANCEL",
8383
"ChatFontNormal",
8484
"CLOSE",
85+
"Constants",
8586
"DEFAULT_CHAT_FRAME",
8687
"FONT_COLOR_CODE_CLOSE",
8788
"GameFontDisableSmall",

AceTab-3.0/AceTab-3.0.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
-- @name AceTab-3.0
55
-- @release $Id$
66

7-
local ACETAB_MAJOR, ACETAB_MINOR = 'AceTab-3.0', 9
7+
local ACETAB_MAJOR, ACETAB_MINOR = 'AceTab-3.0', 10
88
local AceTab, oldminor = LibStub:NewLibrary(ACETAB_MAJOR, ACETAB_MINOR)
99

1010
if not AceTab then return end -- No upgrade needed
@@ -23,6 +23,7 @@ local strsub = string.sub
2323
local strlower = string.lower
2424
local strformat = string.format
2525
local strmatch = string.match
26+
local NUM_CHAT_WINDOWS = NUM_CHAT_WINDOWS or Constants.ChatFrameConstants.MaxChatWindows
2627

2728
local function printf(...)
2829
DEFAULT_CHAT_FRAME:AddMessage(strformat(...))

0 commit comments

Comments
 (0)