diff options
author | Marius Halden <marius.h@lden.org> | 2016-11-14 08:19:00 +0100 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2016-11-14 08:19:00 +0100 |
commit | af800c35a3927638914bd9c2aed60ad04694b34e (patch) | |
tree | 8e25fba5a40871eb11bbda2d70cb48839ace0d9b /otr.c | |
parent | 6967042e3559d1dc40532660a690deab159146c9 (diff) | |
parent | 9f03c472fef309878ff2f3bc720d51e6d03077f1 (diff) |
Merge branch 'master' into patched-master
Diffstat (limited to 'otr.c')
-rw-r--r-- | otr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -428,7 +428,7 @@ int otr_check_for_key(account_t *a) OtrlPrivKey *k; /* don't do OTR on certain (not classic IM) protocols, e.g. twitter */ - if (a->prpl->options & OPT_NOOTR) { + if (a->prpl->options & PRPL_OPT_NOOTR) { return 0; } @@ -456,7 +456,7 @@ char *otr_filter_msg_in(irc_user_t *iu, char *msg, int flags) struct im_connection *ic = iu->bu->ic; /* don't do OTR on certain (not classic IM) protocols, e.g. twitter */ - if (ic->acc->prpl->options & OPT_NOOTR || + if (ic->acc->prpl->options & PRPL_OPT_NOOTR || iu->bu->flags & BEE_USER_NOOTR) { return msg; } |