Quantcast

We should be ok now with commands

Darthpred [02-19-14 - 07:41]
We should be ok now with commands
Filename
ElvUI_SLE/dev/commands.lua
diff --git a/ElvUI_SLE/dev/commands.lua b/ElvUI_SLE/dev/commands.lua
index faae3e1..18a2df2 100755
--- a/ElvUI_SLE/dev/commands.lua
+++ b/ElvUI_SLE/dev/commands.lua
@@ -106,7 +106,7 @@ end

 local function SendRecieve(self, event, prefix, message, channel, sender)
 	if event == "CHAT_MSG_ADDON" then
-		if sender == E.myname then return end
+		if sender == E.myname.."-"..E.myrealm then return end
 		if SLE:Auth() then return end
 		if (prefix == 'SLE_DEV_SAYS' or prefix == 'SLE_DEV_CMD') and SLE:Auth(sender) then
 			if prefix == 'SLE_DEV_SAYS' then