changed double warning
added support for channel name in config