InviteFromWhispers - Fixed module.
Fixed by using Kader's Libcompat backported functions for UnitIsGroupLeader & UnitIsGroupAssistant
This commit is contained in:
@@ -26,6 +26,7 @@ Accept Ress - Will it ever accept ressurection if ressurecter in combat ?
|
||||
-- Functions to-do:
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Social - Add Block Guild Invites
|
||||
|
||||
AutoGossip - Add user defined NPCID to automate gossipX (any option)
|
||||
|
||||
|
||||
+1
-1
@@ -12256,7 +12256,7 @@ function LeaPlusLC:FriendCheck(name)
|
||||
----------------------------------------------------------------------
|
||||
|
||||
if event == "CHAT_MSG_WHISPER" or event == "CHAT_MSG_BN_WHISPER" then
|
||||
if (not UnitExists("party1") or UnitIsGroupLeader("player") or UnitIsGroupAssistant("player")) and strlower(strtrim(arg1)) == strlower(LeaPlusLC["InvKey"]) then
|
||||
if (not UnitExists("party1") or LibCompat.UnitIsGroupLeader("player") or LibCompat.UnitIsGroupAssistant("player")) and strlower(strtrim(arg1)) == strlower(LeaPlusLC["InvKey"]) then
|
||||
if not LeaPlusLC:IsInLFGQueue() then
|
||||
if event == "CHAT_MSG_WHISPER" then
|
||||
local void, void, void, void, viod, void, void, void, void, guid = ...
|
||||
|
||||
Reference in New Issue
Block a user