X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Firssi%2Fsrc%2Fsilc%2Fcore%2Fsilc-channels.c;h=71e597e2c1fc9fd049ef9884cd32e9a9685e89db;hb=3304e90317ca1ddc3c3301bdca6257f1f35da9e8;hp=04d56233eba1917fe5c841b747ff08de26ba2552;hpb=d5b383775b63161db8d94f21df4b3f4029ba2866;p=silc.git diff --git a/apps/irssi/src/silc/core/silc-channels.c b/apps/irssi/src/silc/core/silc-channels.c index 04d56233..71e597e2 100644 --- a/apps/irssi/src/silc/core/silc-channels.c +++ b/apps/irssi/src/silc/core/silc-channels.c @@ -426,11 +426,11 @@ static void event_kick(SILC_SERVER_REC *server, va_list va) if (client_entry == conn->local_entry) { printformat_module("fe-common/silc", server, channel_entry->channel_name, - MSGLEVEL_ACTIONS, SILCTXT_CHANNEL_KICKED_YOU, + MSGLEVEL_CRAP, SILCTXT_CHANNEL_KICKED_YOU, channel_entry->channel_name, tmp ? tmp : ""); } else { printformat_module("fe-common/silc", server, channel_entry->channel_name, - MSGLEVEL_ACTIONS, SILCTXT_CHANNEL_KICKED, + MSGLEVEL_CRAP, SILCTXT_CHANNEL_KICKED, client_entry->nickname, channel_entry->channel_name, tmp ? tmp : ""); } @@ -444,22 +444,20 @@ static void event_kill(SILC_SERVER_REC *server, va_list va) { SilcClientConnection conn = server->conn; SilcClientEntry client_entry; - SilcChannelEntry channel_entry; char *tmp; client_entry = va_arg(va, SilcClientEntry); tmp = va_arg(va, char *); - channel_entry = va_arg(va, SilcChannelEntry); if (client_entry == conn->local_entry) { - printformat_module("fe-common/silc", server, channel_entry->channel_name, - MSGLEVEL_ACTIONS, SILCTXT_CHANNEL_KILLED_YOU, - channel_entry->channel_name, tmp ? tmp : ""); + printformat_module("fe-common/silc", server, NULL, + MSGLEVEL_CRAP, SILCTXT_CHANNEL_KILLED_YOU, + tmp ? tmp : ""); } else { - printformat_module("fe-common/silc", server, channel_entry->channel_name, - MSGLEVEL_ACTIONS, SILCTXT_CHANNEL_KILLED, + printformat_module("fe-common/silc", server, NULL, + MSGLEVEL_CRAP, SILCTXT_CHANNEL_KILLED, client_entry->nickname, - channel_entry->channel_name, tmp ? tmp : ""); + tmp ? tmp : ""); } }