Skip to content

Commit

Permalink
Fix namespace causing slash commands to not work
Browse files Browse the repository at this point in the history
  • Loading branch information
Cjewett committed Nov 19, 2019
1 parent 1d54231 commit 4d89d47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HonorAssist.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ SlashCmdList["HONORASSIST"] = function(msg)
HonorAssist:PrintHelpInformation()
end

local slashCommandMsg = AutoInvite:SplitString(msg, " ")
local slashCommandMsg = HonorAssist:SplitString(msg, " ")
local subCommand = slashCommandMsg[1]

if subCommand == "help" then
Expand All @@ -107,7 +107,7 @@ end

function HonorAssist:PrintHelpInformation()
print("HonorAssist Help Information")
print("/honorassist, /honorassist help -- Displays help information for AutoInvite addon.")
print("/honorassist, /honorassist help -- Displays help information for HonorAssist addon.")
print("/honorassist log -- Enables and disablesdetailed messages to chat about how much honor a kill was worth based on diminishing returns.")
print("/honorassist show -- Shows the Honor Assist (Daily) tracker.")
print("/honorassist hide -- Hides the Honor Assist (Daily) tracker.")
Expand Down

0 comments on commit 4d89d47

Please sign in to comment.