public static void handleChannelDeleteEvent(ChannelDeleteEvent event)
	{
		Bukkit.getServer().getPluginManager().callEvent(event);

		CommandSender channelDeleter = event.getDeleter();
		ChatChannel channelToDelete = event.getChatChannel();
		String channelDeleterName = channelToDelete.getName();

		if (!event.isCancelled())
		{
			ChatChannel chatChannel = event.getChatChannel();
			if (!chatChannel.getName().equalsIgnoreCase(ChatManager.GLOBAL_CHAT_CHANNEL) && !chatChannel.isPermanent())
			{
				if (chatChannel.getCreator().equalsIgnoreCase(channelDeleterName))
				{
					ChatManager.channelHandler.removeChannel(channelToDelete); //Call the channel-handler to remove the channel
					channelDeleter.sendMessage(StringUtil.formatColorCodes("&aChannel Deleted")); //Tell the sender that the channel was deleted
				}
				else
				{
					if (channelDeleter.hasPermission(CommandPermissions.CHANNEL_DELETE_PERMISSION))
					{
						ChatManager.channelHandler.removeChannel(channelToDelete); //Call the channel-handler to remove the channel
						event.getDeleter().sendMessage(StringUtil.formatColorCodes("&aChannel Deleted")); //Tell the sender that the channel was deleted
					}
					else
					{
						event.getDeleter().sendMessage(StringUtil.formatColorCodes("&cYou don't have permission to delete others channels."));
					}
				}
			}
			else
			{
				if (chatChannel.getName().equalsIgnoreCase(ChatManager.GLOBAL_CHAT_CHANNEL))
				{
					channelDeleter.sendMessage(StringUtil.formatColorCodes("&cThe global chat can't be deleted"));
				}
				else
				{
					channelDeleter.sendMessage(StringUtil.formatColorCodes("&aPermanant channels can't be deleted"));
				}
			}
		}
	}