diff options
author | Timo Sirainen <cras@irssi.org> | 2001-12-11 15:15:38 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-12-11 15:15:38 +0000 |
commit | d4ee6fd604f0a94d8a7f42dfcd716768beda1241 (patch) | |
tree | 7848f5c27791ee1d89ca881960d86a00065367bc | |
parent | 3f59c180824b4ce3d9018d42de1b400e5fea635f (diff) | |
download | irssi-d4ee6fd604f0a94d8a7f42dfcd716768beda1241.zip |
User mode changes weren't visible.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2237 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/irc/core/modes.c | 5 |
1 files changed, 4 insertions, 1 deletions
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, |