It would be great if xchat could follow the XDG base directory specification and use XDG_CONFIG_HOME instead of HOME for configuration and logging files. http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
There are a number of benefits to this including making it much easier to migrate data between systems and across upgrades.
I will try to attach a patch for this. I hope you will consider. Thanks.