Thanks for your patch Isak! I rebuild a package with it : http://www.cerkinfo.be/~kujo/xchat-gnome_0.11-0ubuntu1_i386.deb aamukahvi, could you test it to be sure than it fixes your crash? -- autoaway plugin crashs https://launchpad.net/bugs/39461