summaryrefslogtreecommitdiff
path: root/src/irc/flood/flood.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-06-30 22:01:36 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-06-30 22:01:36 +0000
commit68994bd738b616f5c7d279ec775fd5cc959ff92f (patch)
treefe610e2523b7820c14eb0dd1db4a2b265bce89e9 /src/irc/flood/flood.c
parent30f4151e5173f228d8f8f84f67bf2078b157ac05 (diff)
downloadirssi-68994bd738b616f5c7d279ec775fd5cc959ff92f.zip
Removed some warning messages.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@403 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/flood/flood.c')
-rw-r--r--src/irc/flood/flood.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/flood/flood.c b/src/irc/flood/flood.c
index b1096359..c66a02d2 100644
--- a/src/irc/flood/flood.c
+++ b/src/irc/flood/flood.c
@@ -251,7 +251,7 @@ static void read_settings(void)
flood_tag = -1;
}
- if (time > 0 && flood_max_msgs > 0) {
+ if (flood_timecheck > 0 && flood_max_msgs > 0) {
flood_tag = g_timeout_add(500, (GSourceFunc) flood_timeout, NULL);
signal_add("event privmsg", (SIGNAL_FUNC) flood_privmsg);
signal_add("event notice", (SIGNAL_FUNC) flood_notice);