otr: fix missing 'target' param in 'message private' signal

Fixes warnings like these on '/msg yourself'

-!- Irssi: critical privmsg_get_query: assertion 'nick != NULL' failed
-!- Irssi: critical query_find: assertion 'nick != NULL' failed
This commit is contained in:
dequis 2018-03-28 23:06:47 -03:00
commit dd7dc7ca7d
2 changed files with 4 additions and 4 deletions

View file

@ -24,6 +24,6 @@
#include "common.h"
#include "servers.h"
void sig_message_private(SERVER_REC *server, const char *msg, const char *nick, const char *address);
void sig_message_private(SERVER_REC *server, const char *msg, const char *nick, const char *address, const char *target);
#endif /* IRSSI_OTR_MODULE */