From 48b5fef4553ff38711bbdf1773b13841cf0f13c3 Mon Sep 17 00:00:00 2001 From: dequis Date: Tue, 1 Dec 2015 02:30:45 -0300 Subject: purple: assume HTML for all protocols, fixes random <> for some Purple's IRC, for example, doesn't have the PURPLE_CONNECTION_HTML flag, but still sends html for format codes. Note that using IRC through libpurple through bitlbee is still a terrible idea. Use ZNC instead. --- protocols/purple/purple.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'protocols') diff --git a/protocols/purple/purple.c b/protocols/purple/purple.c index a784cc9d..4c451db1 100644 --- a/protocols/purple/purple.c +++ b/protocols/purple/purple.c @@ -781,9 +781,7 @@ static void prplcb_conn_connected(PurpleConnection *gc) // user list needs to be requested for Gadu-Gadu purple_gg_buddylist_import(gc); - if (gc->flags & PURPLE_CONNECTION_HTML) { - ic->flags |= OPT_DOES_HTML; - } + ic->flags |= OPT_DOES_HTML; } static void prplcb_conn_disconnected(PurpleConnection *gc) -- cgit v1.2.3