summaryrefslogtreecommitdiff
path: root/src/otr
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2018-03-28 23:36:03 -0300
committerdequis <dx@dxzone.com.ar>2018-03-28 23:36:03 -0300
commit7d7c6975edc13d6f285c00dfc8a4f1a98ffa6702 (patch)
treebc2cb22135101b64beda459713ef7737697094b2 /src/otr
parentdd7dc7ca7d0b04ae2d522a209845c453bfd9aab5 (diff)
downloadirssi-7d7c6975edc13d6f285c00dfc8a4f1a98ffa6702.zip
otr: add target param to the unencrypted 'message private' signal
Same case as the previous commit.
Diffstat (limited to 'src/otr')
-rw-r--r--src/otr/otr-ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/otr/otr-ops.c b/src/otr/otr-ops.c
index 9359e63e..4e8c4e81 100644
--- a/src/otr/otr-ops.c
+++ b/src/otr/otr-ops.c
@@ -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: