From 55fa76f5efe0e32914dde76b9f68465d3cbcef6a Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Tue, 2 Jun 2009 19:44:40 +0000 Subject: [PATCH] * Updated interface number * Fixed an issue with slash commands when not using AddonLoader --- WowLua.lua | 2 ++ WowLua.toc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/WowLua.lua b/WowLua.lua index 4ba5b2a..3ef272b 100644 --- a/WowLua.lua +++ b/WowLua.lua @@ -649,6 +649,8 @@ function WowLua:SetTitle(modified) WowLuaFrameTitle:SetFormattedText("%s%s - WowLua Editor", entry.name, self:IsModified() and "*" or "") end +SLASH_WOWLUA1 = "/lua" +SLASH_WOWLUA2 = "/wowlua" local first = true SlashCmdList["WOWLUA"] = function(txt) local page, entry = WowLua:GetCurrentPage() diff --git a/WowLua.toc b/WowLua.toc index cae5773..22037ca 100644 --- a/WowLua.toc +++ b/WowLua.toc @@ -1,4 +1,4 @@ -## Interface: 30000 +## Interface: 30100 ## Title: WowLua ## Version: wowi:revision ## Author: Cladhaire -- 1.7.9.5