Mercurial > wow > libmoduledbshare-1-0
changeset 43:288987af9e66
Removed error when duplicate slash command alias is found.
| author | Andrew Knoll <andrewtknoll@gmail.com> |
|---|---|
| date | Wed, 10 Apr 2013 15:26:12 -0400 |
| parents | 71f3aad48c72 |
| children | 9e1b25004509 |
| files | LibModuleDBShare-1.0/LibModuleDBShare-1.0.lua |
| diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/LibModuleDBShare-1.0/LibModuleDBShare-1.0.lua Wed Apr 10 15:12:43 2013 -0400 +++ b/LibModuleDBShare-1.0/LibModuleDBShare-1.0.lua Wed Apr 10 15:26:12 2013 -0400 @@ -325,9 +325,6 @@ local i = 1; while _G["SLASH_"..self.slug..i] do - if _G["SLASH_"..self.slug..i] == alias then - error("Usage: DBGroup:AddSlashCommandAlias(alias): alias '"..alias.."' is already in use by this command.", 2); - end i = i + 1; end
