mcabber/src/otr.c
changeset 1584 18069a9dca4a
parent 1580 c8be6c2243d6
child 1598 a087125d8fc8
equal deleted inserted replaced
1583:c431fa9e2876 1584:18069a9dca4a
   536   }
   536   }
   537 
   537 
   538   if (ctx) {
   538   if (ctx) {
   539     if (!ctx->smstate->secret) {
   539     if (!ctx->smstate->secret) {
   540       scr_LogPrint(LPRINT_LOGNORM,
   540       scr_LogPrint(LPRINT_LOGNORM,
   541                    "Don't call smpr before you haven't received an SMP "
   541                    "Don't call smpr until you have received an SMP "
   542                    "Initiation!");
   542                    "Initiation!");
   543       return;
   543       return;
   544     }
   544     }
   545     otrl_message_respond_smp(userstate, &ops, NULL, ctx,
   545     otrl_message_respond_smp(userstate, &ops, NULL, ctx,
   546                              (const unsigned char *)secret,
   546                              (const unsigned char *)secret,