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:
parent
dd7dc7ca7d
commit
7d7c6975ed
@ -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.
|
* submit a patch or email me a better way.
|
||||||
*/
|
*/
|
||||||
signal_remove("message private", (SIGNAL_FUNC) sig_message_private);
|
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);
|
signal_add_first("message private", (SIGNAL_FUNC) sig_message_private);
|
||||||
break;
|
break;
|
||||||
case OTRL_MSGEVENT_RCVDMSG_UNRECOGNIZED:
|
case OTRL_MSGEVENT_RCVDMSG_UNRECOGNIZED:
|
||||||
|
Loading…
Reference in New Issue
Block a user