Typo fixes in new functions: NOY FUNCTIONAL
This commit is contained in:
parent
2dcf64b159
commit
86a904b502
1 changed files with 3 additions and 5 deletions
|
@ -99,7 +99,7 @@ function core:GetChannelTable()
|
|||
end
|
||||
|
||||
function core:GetChannelCategory(number)
|
||||
for i = 1,GetNumDisplayChannels(),i do
|
||||
for i = 1,GetNumDisplayChannels(),1 do
|
||||
_,_,channelNumber,_,_,category = GetChannelDisplayInfo(i);
|
||||
|
||||
if(channelNumber == number) then
|
||||
|
@ -117,10 +117,8 @@ function core:JoinChannel(msg)
|
|||
return;
|
||||
end
|
||||
|
||||
local index = GetChannelName(name); -- in game function does not handle "General" or "Trade"
|
||||
|
||||
local _,_,_,_,_,_,category,_,_ = GetChannelDisplayInfo(index);
|
||||
print(category);
|
||||
number,channelName,category = core:GetChannelInfo(name);
|
||||
print(number,channelName,category);
|
||||
|
||||
if(category == CHANNEL_CATEGORY_CUSTOM) then
|
||||
ChatSaverDB[name] = {};
|
||||
|
|
Loading…
Reference in a new issue