protected bool a(Chat_Message A_0, out string A_1){ A_1 = null; string text1 = A_0.MessageText; if ((text1 != null) && (text1 != "")) { if (text1.Length >= ChatWebUtility.MaxMSGLength) { A_1 = string.Concat(new object[] { ChatWebUtility.Strings.MsgExceededMaxLen, " (", ChatWebUtility.MaxMSGLength, ")." }); return false; } string[] textArray1 = text1.Split(" ".ToCharArray()); if (textArray1.Length >= 1) { for (int num1 = 0; num1 < textArray1.Length; num1++) { if (textArray1[num1].Length >= ChatWebUtility.MaxWordLength) { A_1 = string.Concat(new object[] { ChatWebUtility.Strings.WordExceededMaxLen, " (", ChatWebUtility.MaxWordLength, ")." }); return false; } } } Chat_BadWord[] wordArray1 = this.i().k(); if ((wordArray1 == null) || (wordArray1.Length == 0)) { return true; } text1 = text1.ToLower(); Chat_BadWord[] wordArray2 = wordArray1; for (int num2 = 0; num2 < wordArray2.Length; num2++) { Chat_BadWord word1 = wordArray2[num2]; if (this.a(text1, word1)) { A_1 = "Text contains " + word1.BadWord; return false; } } } return true;}