aboutsummaryrefslogtreecommitdiffstats
path: root/otr.c
diff options
context:
space:
mode:
authorunknown <pesco@khjk.org>2013-08-02 23:59:43 +0200
committerunknown <pesco@khjk.org>2013-08-02 23:59:43 +0200
commitfbcb48126238e224ca0eef324136dc20868e428b (patch)
treefcf5110854a557c12459942bb072c62c13039176 /otr.c
parentc347a1225f8a114ff540a38fed31c5543b4d9fcc (diff)
do 'otr connect' with the proper query message (generated by libotr)
Diffstat (limited to 'otr.c')
-rw-r--r--otr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/otr.c b/otr.c
index 6fdaa43b..c5b1d3a4 100644
--- a/otr.c
+++ b/otr.c
@@ -943,7 +943,9 @@ void cmd_otr_connect(irc_t *irc, char **args)
return;
}
- bee_user_msg(irc->b, u->bu, "?OTR?v2?", 0);
+ /* passing this through the filter so it goes through libotr which
+ * will replace the simple query string with a proper one */
+ otr_filter_msg_out(u, "?OTR?", 0);
}
void cmd_otr_smp(irc_t *irc, char **args)