aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/purple/purple.c
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-12-01 02:30:45 -0300
committerdequis <dx@dxzone.com.ar>2015-12-01 02:30:45 -0300
commit48b5fef4553ff38711bbdf1773b13841cf0f13c3 (patch)
treef8e9dc520e8274f58862e9a3a4fa83ba67dd3f5b /protocols/purple/purple.c
parent05aba5534a8b2ea1374b43412a56b7ca00901fcc (diff)
purple: assume HTML for all protocols, fixes random &lt;&gt; 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.
Diffstat (limited to 'protocols/purple/purple.c')
-rw-r--r--protocols/purple/purple.c4
1 files changed, 1 insertions, 3 deletions
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)