diff options
author | Timo Sirainen <cras@irssi.org> | 2001-04-25 04:10:19 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-04-25 04:10:19 +0000 |
commit | 53474a2163f36bec81e89c655e0b9ef95f09a8cc (patch) | |
tree | 8c4d0abaf6722ddc9c2346ed2435df4b58377dba /src | |
parent | a321ad015068d162a1bab52c0c08c6060c5c0d9e (diff) | |
download | irssi-53474a2163f36bec81e89c655e0b9ef95f09a8cc.zip |
"ban ..." signals didn't send channel info
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1457 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/irc/core/mode-lists.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/irc/core/mode-lists.c b/src/irc/core/mode-lists.c index 50d57b3a..b3c3e248 100644 --- a/src/irc/core/mode-lists.c +++ b/src/irc/core/mode-lists.c @@ -59,7 +59,7 @@ BAN_REC *banlist_add(IRC_CHANNEL_REC *channel, const char *ban, channel->banlist = g_slist_append(channel->banlist, rec); - signal_emit("ban new", 1, rec); + signal_emit("ban new", 2, channel, rec); return rec; } @@ -88,7 +88,7 @@ void banlist_remove(IRC_CHANNEL_REC *channel, const char *ban) rec = banlist_find(channel->banlist, ban); if (rec != NULL) { - signal_emit("ban remove", 1, rec); + signal_emit("ban remove", 2, channel, rec); ban_free(&channel->banlist, rec); } } @@ -109,7 +109,7 @@ BAN_REC *banlist_exception_add(IRC_CHANNEL_REC *channel, const char *ban, channel->ebanlist = g_slist_append(channel->ebanlist, rec); - signal_emit("ban exception new", 1, rec); + signal_emit("ban exception new", 2, channel, rec); return rec; } @@ -122,7 +122,7 @@ void banlist_exception_remove(IRC_CHANNEL_REC *channel, const char *ban) rec = banlist_find(channel->ebanlist, ban); if (rec != NULL) { - signal_emit("ban exception remove", 1, rec); + signal_emit("ban exception remove", 2, channel, rec); ban_free(&channel->ebanlist, rec); } } |