From bf721508e5007ea0059b0c018593116639ad2af2 Mon Sep 17 00:00:00 2001 From: Xruptor Date: Wed, 13 Mar 2013 19:37:08 -0400 Subject: [PATCH] -Updated TOC for patch 5.2 -Added a small fix for when Battle.net goes down. --- XanChat.lua | 4 +++- XanChat.toc | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/XanChat.lua b/XanChat.lua index 9d0d205..181dd35 100644 --- a/XanChat.lua +++ b/XanChat.lua @@ -340,7 +340,9 @@ function eFrame:PLAYER_LOGIN() if XCHT_DB.hideTabs == nil then XCHT_DB.hideTabs = false end --ALWAYS turn off profanity filter - BNSetMatureLanguageFilter(false) + if BNConnected() then + BNSetMatureLanguageFilter(false) + end --sticky channels for k, v in pairs(StickyTypeChannels) do diff --git a/XanChat.toc b/XanChat.toc index 85ca459..6d350bc 100644 --- a/XanChat.toc +++ b/XanChat.toc @@ -1,8 +1,8 @@ -## Interface: 50001 +## Interface: 50200 ## Title: xanChat ## Notes: A very minimalistic chat modification addon. ## Author: Xruptor -## Version: 3.7 +## Version: 3.8 ## SavedVariables: XCHT_DB xanChat.lua -- 1.7.9.5