diff options
author | Timo Sirainen <cras@irssi.org> | 2000-10-09 23:40:18 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-10-09 23:40:18 +0000 |
commit | 3c78d956140966dd44abad9def84e6a812562bd0 (patch) | |
tree | faf1b5d4a3a3db948510bdf8bb6eb2eb6f0f99ce /src/irc/flood/flood.c | |
parent | 77fcb9de52d86407a94f734098a25b28f96fb046 (diff) | |
download | irssi-3c78d956140966dd44abad9def84e6a812562bd0.zip |
Moved ignore to core.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@725 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/flood/flood.c')
-rw-r--r-- | src/irc/flood/flood.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/irc/flood/flood.c b/src/irc/flood/flood.c index 456bc21f..08fe9bf0 100644 --- a/src/irc/flood/flood.c +++ b/src/irc/flood/flood.c @@ -211,7 +211,7 @@ static void flood_privmsg(const char *data, IRC_SERVER_REC *server, const char * params = event_get_params(data, 2, &target, &text); level = ischannel(*target) ? MSGLEVEL_PUBLIC : MSGLEVEL_MSGS; - if (addr != NULL && !ignore_check(server, nick, addr, target, text, level)) + if (addr != NULL && !ignore_check(SERVER(server), nick, addr, target, text, level)) flood_newmsg(server, level, nick, addr, target); g_free(params); @@ -228,7 +228,7 @@ static void flood_notice(const char *data, IRC_SERVER_REC *server, const char *n return; params = event_get_params(data, 2, &target, &text); - if (!ignore_check(server, nick, addr, target, text, MSGLEVEL_NOTICES)) + if (!ignore_check(SERVER(server), nick, addr, target, text, MSGLEVEL_NOTICES)) flood_newmsg(server, MSGLEVEL_NOTICES, nick, addr, target); g_free(params); @@ -246,7 +246,7 @@ static void flood_ctcp(const char *data, IRC_SERVER_REC *server, const char *nic level = g_strncasecmp(data, "ACTION ", 7) != 0 ? MSGLEVEL_CTCPS : (ischannel(*target) ? MSGLEVEL_PUBLIC : MSGLEVEL_MSGS); - if (!ignore_check(server, nick, addr, target, data, level)) + if (!ignore_check(SERVER(server), nick, addr, target, data, level)) flood_newmsg(server, level, nick, addr, target); } |