Ensure corret case on userID
Leandro Silva [09-24-18 - 23:37]
Ensure corret case on userID
diff --git a/LeoGuildManager.lua b/LeoGuildManager.lua
index 4cbe2aa..a9c5c1f 100644
--- a/LeoGuildManager.lua
+++ b/LeoGuildManager.lua
@@ -2,7 +2,7 @@
LeoGM = {}
LeoGM.name = "LeoGuildManager"
LeoGM.displayName = "Leo's Guild Manager"
-LeoGM.version = "0.9.9"
+LeoGM.version = "1.0.0"
LeoGM.chatPrefix = "|c39B027" .. LeoGM.name .. "|r: "
LeoGM.panelList = { "Rules", "Purge" }
LeoGM.members = {}
@@ -435,7 +435,7 @@ function LeoGM.AutoKick(kick)
local numGuildMembers = GetNumGuildMembers(guildId)
for guildMemberIndex = 1, numGuildMembers do
local displayName = GetGuildMemberInfo(guildId, guildMemberIndex)
- if string.lower(displayName) == string.lower(userId) then
+ if displayName == userId then
if kick == true then
d("Found " .. userId .." on " .. guildName .. ". Kicking ...")
GuildRemove(guildId, userId)
diff --git a/LeoGuildManager.txt b/LeoGuildManager.txt
index e147c49..e89874d 100644
--- a/LeoGuildManager.txt
+++ b/LeoGuildManager.txt
@@ -1,6 +1,6 @@
## Title: Leo's Guild Manager
## APIVersion: 100024
-## Version: 0.9.9
+## Version: 1.0.0
## Author: |c39B027@LeandroSilva|r
## SavedVariables: LeoGMSavedVariables
## DependsOn: LibStub LibFeedback MasterMerchant