/// <summary> /// Save the current ban list to a file. /// </summary> public void SaveBanList() { Tools.SaveList(string.IsNullOrEmpty(rootDirectory) ? banFilePath : Path.Combine(rootDirectory, banFilePath), mBan); }