diff options
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/flood/flood.c | 2 |
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); |