mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-29 20:52:16 -05:00
fix variable name in flood msg.
This commit is contained in:
parent
2bb4da5f0b
commit
edc04743bf
@ -405,7 +405,7 @@ flood_check (char *nick, char *ip, server *serv, session *sess, int what) /*0=ct
|
|||||||
if (serv->msg_counter == prefs.hex_flood_msg_num) /*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),
|
snprintf (buf, sizeof (buf),
|
||||||
_("You are being MSG flooded from %s, setting gui_auto_open_dialog OFF.\n"),
|
_("You are being MSG flooded from %s, setting gui_autoopen_dialog OFF.\n"),
|
||||||
ip);
|
ip);
|
||||||
PrintText (sess, buf);
|
PrintText (sess, buf);
|
||||||
serv->msg_last_time = current_time; /*we got the flood, restore all the vars for next one */
|
serv->msg_last_time = current_time; /*we got the flood, restore all the vars for next one */
|
||||||
|
Loading…
Reference in New Issue
Block a user