From a1c92ddfe4e8fbd01b13937f7d771cccc67ddeb5 Mon Sep 17 00:00:00 2001 From: Troy Sankey Date: Wed, 4 Oct 2017 13:28:55 -0400 Subject: Add quotations around and in the otr docs The user doesn't otherwise know how to type answers or secrets containing spaces. --- otr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/otr.c b/otr.c index 2a2385ce..ec1c1a3c 100644 --- a/otr.c +++ b/otr.c @@ -877,13 +877,13 @@ void op_handle_smp_event(void *opdata, OtrlSMPEvent ev, ConnContext *ctx, switch (ev) { case OTRL_SMPEVENT_ASK_FOR_SECRET: irc_rootmsg(irc, "smp: initiated by %s" - " - respond with \x02otr smp %s \x02", + " - respond with \x02otr smp %s \"\"\x02", u->nick, u->nick); break; case OTRL_SMPEVENT_ASK_FOR_ANSWER: irc_rootmsg(irc, "smp: initiated by %s with question: \x02\"%s\"\x02", u->nick, question); - irc_rootmsg(irc, "smp: respond with \x02otr smp %s \x02", + irc_rootmsg(irc, "smp: respond with \x02otr smp %s \"\"\x02", u->nick); break; case OTRL_SMPEVENT_CHEATED: -- cgit v1.2.3