From d4ee6fd604f0a94d8a7f42dfcd716768beda1241 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 11 Dec 2001 15:15:38 +0000 Subject: User mode changes weren't visible. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2237 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/core/modes.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/irc/core/modes.c b/src/irc/core/modes.c index 9c73afe3..c1a66153 100644 --- a/src/irc/core/modes.c +++ b/src/irc/core/modes.c @@ -409,7 +409,8 @@ static void event_unaway(IRC_SERVER_REC *server, const char *data) signal_emit("away mode changed", 1, server); } -static void sig_req_usermode_change(IRC_SERVER_REC *server, const char *data) +static void sig_req_usermode_change(IRC_SERVER_REC *server, const char *data, + const char *nick, const char *addr) { char *params, *target, *mode; @@ -425,6 +426,8 @@ static void sig_req_usermode_change(IRC_SERVER_REC *server, const char *data) } g_free(params); + + signal_emit("event mode", 4, server, data, nick, addr); } void channel_set_singlemode(IRC_CHANNEL_REC *channel, const char *nicks, -- cgit v1.2.3