Skip to content

Commit

Permalink
otr: add target param to the unencrypted 'message private' signal
Browse files Browse the repository at this point in the history
Same case as the previous commit.
  • Loading branch information
dequis committed Mar 29, 2018
1 parent dd7dc7c commit 7d7c697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/otr/otr-ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ static void ops_handle_msg_event(void *opdata, OtrlMessageEvent msg_event, ConnC
* submit a patch or email me a better way.
*/
signal_remove("message private", (SIGNAL_FUNC) sig_message_private);
signal_emit("message private", 4, server, message, username, server->connrec->address);
signal_emit("message private", 5, server, message, username, server->connrec->address, server->nick);
signal_add_first("message private", (SIGNAL_FUNC) sig_message_private);
break;
case OTRL_MSGEVENT_RCVDMSG_UNRECOGNIZED:
Expand Down

0 comments on commit 7d7c697

Please sign in to comment.