improve weechat support