Fixed bug where addon would alert about your own login

Chris O'Dell [05-05-14 - 16:43]
Fixed bug where addon would alert about your own login
Filename
GuildMemberNotifier.lua
diff --git a/GuildMemberNotifier.lua b/GuildMemberNotifier.lua
index be24af2..b151d5e 100644
--- a/GuildMemberNotifier.lua
+++ b/GuildMemberNotifier.lua
@@ -23,7 +23,7 @@ function GuildMemberNotifier.OnGuildMemberPlayerStatusChanged(eventCode, guildId
 		d("|r|c888888 [eventCode:"..eventCode.."][guildId:"..guildId.."][playerName:"..playerName.."][previousStatus:"..previousStatus.."][currentStatus:"..currentStatus.."]")
 	end

-	if (currentStatus == PLAYER_STATUS_ONLINE) then
+	if (currentStatus == PLAYER_STATUS_ONLINE  and playerName ~= GetDisplayName()) then
 		d(string.format("|r|cFFC700 %s has logged on", playerName))
 	end