1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

otr: add target param to the unencrypted 'message private' signal

Same case as the previous commit.
This commit is contained in:
dequis 2018-03-28 23:36:03 -03:00
parent dd7dc7ca7d
commit 7d7c6975ed

View File

@ -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: