summary refs log tree commit diff stats
path: root/src/common/ignore.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-22 20:00:08 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-22 20:00:08 +0200
commite05c13a0973f6758c4de91d07afc4bb8a8c90f42 (patch)
tree75026df0dd2b6536a83d41e81aebefa6565d1902 /src/common/ignore.c
parent6daa63f113ded867fd55d5220babffbbf64648a5 (diff)
More fixes, sorting and cleanup
Diffstat (limited to 'src/common/ignore.c')
-rw-r--r--src/common/ignore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/ignore.c b/src/common/ignore.c
index aea482a2..12a2926a 100644
--- a/src/common/ignore.c
+++ b/src/common/ignore.c
@@ -401,7 +401,7 @@ flood_check (char *nick, char *ip, server *serv, session *sess, int what)	/*0=ct
 				 prefs.hex_flood_msg_time)
 			{
 				serv->msg_counter++;
-				if (serv->msg_counter == prefs.hex_flood_msg_time)	/*if we reached the maximun numbers of ctcp in the seconds limits */
+				if (serv->msg_counter == prefs.hex_flood_msg_num)	/*if we reached the maximun numbers of ctcp in the seconds limits */
 				{
 					snprintf (buf, sizeof (buf),
 					 _("You are being MSG flooded from %s, setting gui_auto_open_dialog OFF.\n"),