From 603ecbc5ffc70e3ac19bf05d3c8e865653de52de Mon Sep 17 00:00:00 2001 From: shagu Date: Mon, 12 Jun 2017 18:40:50 +0200 Subject: [PATCH] autovendor: rename repair function --- modules/autovendor.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/autovendor.lua b/modules/autovendor.lua index c34d5c84..6597869c 100644 --- a/modules/autovendor.lua +++ b/modules/autovendor.lua @@ -1,7 +1,7 @@ pfUI:RegisterModule("autovendor", function () local scanlist = {} - local function RepairAllItems() + local function RepairItems() local cost, possible = GetRepairAllCost() if cost > 0 and possible then DEFAULT_CHAT_FRAME:AddMessage("Your items have been repaired for " .. CreateGoldString(cost)) @@ -78,7 +78,7 @@ pfUI:RegisterModule("autovendor", function () if event == "MERCHANT_SHOW" then if C["global"]["autorepair"] == "1" then - RepairAllItems() + RepairItems() end if C["global"]["autosell"] == "1" then