changeset 230:98114c158e62

Request load of LibKeyBound-1.0 for disembedded installations
author Flick
date Tue, 22 Mar 2011 11:14:21 -0700
parents b4c100011c75
children 158c9299185b
files ReAction.lua
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ReAction.lua	Tue Mar 22 11:13:53 2011 -0700
+++ b/ReAction.lua	Tue Mar 22 11:14:21 2011 -0700
@@ -3,8 +3,12 @@
 local pairs = pairs
 local type = type
 local geterrorhandler = geterrorhandler
-local LKB = LibStub("LibKeyBound-1.0")
 local L = LibStub("AceLocale-3.0"):GetLocale("ReAction")
+local LKB = LibStub("LibKeyBound-1.0",true)
+if not LKB then
+  LoadAddOn("LibKeyBound-1.0")
+  LKB = LibStub("LibKeyBound-1.0")
+end
 
 ------ Utility ------
 local tcopy