From 538a1377d28aa6ade3528aa7c26482b455b5a266 Mon Sep 17 00:00:00 2001 From: Jochen Eisinger Date: Mon, 5 Jan 2004 22:46:55 +0000 Subject: [PATCH] fixed wrong parameter count in signals --- apps/irssi/src/silc/core/client_ops.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/irssi/src/silc/core/client_ops.c b/apps/irssi/src/silc/core/client_ops.c index 76262922..fb9782ff 100644 --- a/apps/irssi/src/silc/core/client_ops.c +++ b/apps/irssi/src/silc/core/client_ops.c @@ -441,7 +441,7 @@ void silc_channel_message(SilcClient client, SilcClientConnection conn, signal_emit("message silc signed_action", 6, server, cp, nick->nick, nick->host, channel->channel_name, verified); else - signal_emit("message silc action", 6, server, cp, nick->nick, + signal_emit("message silc action", 5, server, cp, nick->nick, nick->host, channel->channel_name); silc_free(dm); } else { @@ -449,7 +449,7 @@ void silc_channel_message(SilcClient client, SilcClientConnection conn, signal_emit("message silc signed_action", 6, server, message, nick->nick, nick->host, channel->channel_name, verified); else - signal_emit("message silc action", 6, server, message, + signal_emit("message silc action", 5, server, message, nick->nick, nick->host, channel->channel_name); } /* FIXME: replace those printformat calls with signals and add signature @@ -577,7 +577,7 @@ void silc_private_message(SilcClient client, SilcClientConnection conn, sender->username ? userhost : NULL, NULL, verified); else - signal_emit("message silc private_action", 6, server, cp, + signal_emit("message silc private_action", 5, server, cp, sender->nickname ? sender->nickname : "[]", sender->username ? userhost : NULL, NULL); silc_free(dm); @@ -588,7 +588,7 @@ void silc_private_message(SilcClient client, SilcClientConnection conn, sender->username ? userhost : NULL, NULL, verified); else - signal_emit("message silc private_action", 6, server, message, + signal_emit("message silc private_action", 5, server, message, sender->nickname ? sender->nickname : "[]", sender->username ? userhost : NULL, NULL); } -- 2.43.0