Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ElvUI Project
ElvUI
Commits
d50f943f
Commit
d50f943f
authored
Oct 20, 2018
by
Azilroka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "ElvUIGVC -> ElvUI_VC"
This reverts commit
5fe2c4bd
.
parent
a05f8d43
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
ElvUI/Libraries/LibElvUIPlugin-1.0/LibElvUIPlugin-1.0.lua
ElvUI/Libraries/LibElvUIPlugin-1.0/LibElvUIPlugin-1.0.lua
+3
-3
ElvUI/core/core.lua
ElvUI/core/core.lua
+5
-5
No files found.
ElvUI/Libraries/LibElvUIPlugin-1.0/LibElvUIPlugin-1.0.lua
View file @
d50f943f
...
...
@@ -230,9 +230,9 @@ function lib:SendPluginVersionCheck(message)
elseif
IsInGroup
()
then
ChatType
=
(
not
IsInGroup
(
LE_PARTY_CATEGORY_HOME
)
and
IsInGroup
(
LE_PARTY_CATEGORY_INSTANCE
))
and
'INSTANCE_CHAT'
or
'PARTY'
else
local
ElvUI
_
VC
=
GetChannelName
(
'ElvUI
_
VC'
)
if
ElvUI
_
VC
and
ElvUI
_
VC
>
0
then
ChatType
,
Channel
=
'CHANNEL'
,
ElvUI
_
VC
local
ElvUI
G
VC
=
GetChannelName
(
'ElvUI
G
VC'
)
if
ElvUI
G
VC
and
ElvUI
G
VC
>
0
then
ChatType
,
Channel
=
'CHANNEL'
,
ElvUI
G
VC
elseif
IsInGuild
()
then
ChatType
=
'GUILD'
end
...
...
ElvUI/core/core.lua
View file @
d50f943f
...
...
@@ -912,9 +912,9 @@ function E:SendMessage()
elseif
IsInGroup
()
then
C_ChatInfo_SendAddonMessage
(
"ELVUI_VERSIONCHK"
,
E
.
version
,
(
not
IsInGroup
(
LE_PARTY_CATEGORY_HOME
)
and
IsInGroup
(
LE_PARTY_CATEGORY_INSTANCE
))
and
"INSTANCE_CHAT"
or
"PARTY"
)
else
local
ElvUI
_
VC
=
GetChannelName
(
'ElvUI
_
VC'
)
if
ElvUI
_
VC
and
ElvUI
_
VC
>
0
then
C_ChatInfo_SendAddonMessage
(
"ELVUI_VERSIONCHK"
,
E
.
version
,
"CHANNEL"
,
ElvUI
_
VC
)
local
ElvUI
G
VC
=
GetChannelName
(
'ElvUI
G
VC'
)
if
ElvUI
G
VC
and
ElvUI
G
VC
>
0
then
C_ChatInfo_SendAddonMessage
(
"ELVUI_VERSIONCHK"
,
E
.
version
,
"CHANNEL"
,
ElvUI
G
VC
)
elseif
IsInGuild
()
then
C_ChatInfo_SendAddonMessage
(
"ELVUI_VERSIONCHK"
,
E
.
version
,
"GUILD"
)
end
...
...
@@ -976,8 +976,8 @@ f:SetScript("OnUpdate", function(self, elapsed)
if
self
.
delayed
>
1
then
local
numActiveChannels
=
C_ChatInfo_GetNumActiveChannels
()
if
numActiveChannels
and
(
numActiveChannels
>=
1
)
then
if
(
GetChannelName
(
'ElvUI
_
VC'
)
==
0
)
and
(
numActiveChannels
<
MAX_WOW_CHAT_CHANNELS
)
then
JoinChannelByName
(
'ElvUI
_
VC'
,
nil
,
nil
,
true
)
if
(
GetChannelName
(
'ElvUI
G
VC'
)
==
0
)
and
(
numActiveChannels
<
MAX_WOW_CHAT_CHANNELS
)
then
JoinChannelByName
(
'ElvUI
G
VC'
,
nil
,
nil
,
true
)
if
not
SendMessageWaiting
then
SendMessageWaiting
=
E
:
Delay
(
10
,
E
.
SendMessage
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment