Change line 98 to:
--Static Popup hook for 2.0.1
if GetBuildInfo() == '2.0.1' then
Add "ADDON_ACTION_BLOCKED" to XLoot:StaticPopup_Show:
function XLoot:StaticPopup_Show(which, a, b, data)
if not (which == "ADDON_ACTION_FORBIDDEN" or "ADDON_ACTION_BLOCKED" and (arg2 == "CloseLoot()" or arg2 == "LootSlot()")) then
return self.hooks.StaticPopup_Show(which, a, b, data)
Now, re-applying weapon enchants, poisons, enchants on armor and weapons works in TBC. On the live servers, the Disable popup is bypassed, however Xloot needs to be disabled or put in standby in order to replace any item enchants/poisons.