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 13:49:28 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-22 13:49:28 +0200
commitbf27d4305288872507e1c6283df91783785c1b1e (patch)
treee114c37041661c90084d38a60a0a4ecc0be2fe6e /src/common/ignore.c
parent87e903cd739ae68aaadd086ebb2b831680e882cb (diff)
Variable cleanup for gui_*
Diffstat (limited to 'src/common/ignore.c')
-rw-r--r--src/common/ignore.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/ignore.c b/src/common/ignore.c
index 93ca5a76..aea482a2 100644
--- a/src/common/ignore.c
+++ b/src/common/ignore.c
@@ -335,7 +335,7 @@ ignore_save ()
 static gboolean
 flood_autodialog_timeout (gpointer data)
 {
-	prefs.autodialog = 1;
+	prefs.hex_gui_autoopen_dialog = 1;
 	return FALSE;
 }
 
@@ -412,10 +412,10 @@ flood_check (char *nick, char *ip, server *serv, session *sess, int what)	/*0=ct
 					/*ignore_add (char *mask, int priv, int noti, int chan,
 					   int ctcp, int invi, int unignore, int no_save) */
 
-					if (prefs.autodialog)
+					if (prefs.hex_gui_autoopen_dialog)
 					{
 						/*FIXME: only ignore ctcp or all?, its ignoring ctcps for now */
-						prefs.autodialog = 0;
+						prefs.hex_gui_autoopen_dialog = 0;
 						/* turn it back on in 30 secs */
 						fe_timeout_add (30000, flood_autodialog_timeout, NULL);
 					}