56591cf - Delete unnecessary libraries
[wowui.git] / OmaRFConfig / libs / AceConfig-3.0 / AceConfig-3.0.lua
index a99ddf7..5cb4973 100644 (file)
@@ -13,7 +13,6 @@ Very light wrapper library that combines all the AceConfig subcomponents into on
 ]]
 
 local cfgreg = LibStub("AceConfigRegistry-3.0")
 ]]
 
 local cfgreg = LibStub("AceConfigRegistry-3.0")
-local cfgcmd = LibStub("AceConfigCmd-3.0")
 
 local MAJOR, MINOR = "AceConfig-3.0", 3
 local AceConfig = LibStub:NewLibrary(MAJOR, MINOR)
 
 local MAJOR, MINOR = "AceConfig-3.0", 3
 local AceConfig = LibStub:NewLibrary(MAJOR, MINOR)
@@ -45,14 +44,4 @@ local pcall, error, type, pairs = pcall, error, type, pairs
 function AceConfig:RegisterOptionsTable(appName, options, slashcmd)
        local ok,msg = pcall(cfgreg.RegisterOptionsTable, self, appName, options)
        if not ok then error(msg, 2) end
 function AceConfig:RegisterOptionsTable(appName, options, slashcmd)
        local ok,msg = pcall(cfgreg.RegisterOptionsTable, self, appName, options)
        if not ok then error(msg, 2) end
-       
-       if slashcmd then
-               if type(slashcmd) == "table" then
-                       for _,cmd in pairs(slashcmd) do
-                               cfgcmd:CreateChatCommand(cmd, appName)
-                       end
-               else
-                       cfgcmd:CreateChatCommand(slashcmd, appName)
-               end
-       end
 end
 end