summary refs log tree commit diff stats
path: root/src/common/ignore.c
diff options
context:
space:
mode:
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"),