XChat is a very popular IRC client, and is my favourite, but there are still a few things wrong with the latest versions, in my opinion.

For example, there is an incredibly annoying "feature" where if you press ^W (Ctrl-W), it closes the current tab that's open, without any warning whatsoever. The developers consider this to be the proper thing to do for a GNOME application, but some people disagree .

I happen to disagree, so I hunted around on google until I found a source tarball that had been patched to remove this tab-closing "feature". I then ran a diff on it and the original source tree of that version, and found out how to disable it. I then made a unified patch for it. Here is the normal diff output, because it's easier for humans to read.

The patch also changes the "Open Link in Opera" menu entry to open a new tab, rather than opening in the current window, removes the generic "Open Link in Browser" entry (which, as far as I could tell, did nothing), and (heh) changes the main window title to read "XChat-DC" rather than just "XChat". These patches are released under the WTFPL.