# HG changeset patch # User Mikael Berthe # Date 1446761503 -3600 # Node ID c9640971beec3f7852802e3ed50722256eb84fe5 # Parent fa516ef22145dbe309e613dcbeed2b818f991660 Fix bug/typo introduced in 0c78d31c753d (Reported by franky) diff -r fa516ef22145 -r c9640971beec mcabber/mcabber/otr.c --- a/mcabber/mcabber/otr.c Thu Nov 05 20:58:57 2015 +0100 +++ b/mcabber/mcabber/otr.c Thu Nov 05 23:11:43 2015 +0100 @@ -607,7 +607,7 @@ *encryption_status = 0; - if (!msg || !buddy || !encryption_status) + if (!msg || !buddy || !*encryption_status) return NULL; if (ctx->msgstate == OTRL_MSGSTATE_PLAINTEXT)