Created
August 10, 2009 16:39
-
-
Save Shadowed/165277 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/LibHealComm-3.0 (2).lua b/LibHealComm-3.0.lua | |
index 8920adc..58ec7b9 100644 | |
--- a/LibHealComm-3.0 (2).lua | |
+++ b/LibHealComm-3.0.lua | |
@@ -604,6 +604,13 @@ function lib:GetUnitVersion(unit) | |
return Versions[targetName] or false; | |
end | |
+function lib:RequestGuildVersions() | |
+ commSend("999" .. tostring(MINOR_VERSION), "GUILD"); | |
+end | |
+ | |
+function lib:RequestVersions() | |
+ commSend("999" .. tostring(MINOR_VERSION)); | |
+end | |
-------------------- | |
-- Class Specific -- | |
@@ -1439,11 +1446,6 @@ function lib:PARTY_MEMBERS_CHANGED() | |
InRaid = (GetNumRaidMembers() > 0); | |
InParty = (GetNumPartyMembers() > 0); | |
- -- Announce and request version when joining a group | |
- if (not wasInRaidOrParty and (InRaid or InParty)) then | |
- commSend("999" .. tostring(MINOR_VERSION)); | |
- end | |
- | |
-- Update Subgroups table | |
twipe(Subgroup); | |
if (InRaid) then | |
@@ -1463,10 +1465,6 @@ end | |
function lib:Initialise() | |
InRaid = (GetNumRaidMembers() > 0); | |
InParty = (GetNumPartyMembers() > 0); | |
- | |
- -- Announce and request version in group and in guild | |
- commSend("999" .. tostring(MINOR_VERSION)); | |
- commSend("999" .. tostring(MINOR_VERSION), "GUILD"); | |
end | |
lib:Initialise(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment