added support for xchat