summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2016-01-25 20:37:53 -0500
committerPatrick Griffis <tingping@tingping.se>2016-01-25 20:37:53 -0500
commit5dafa60433b0cdf3ce1228b3d33f6b6381205b2c (patch)
treefa667e5e8534de06cd09529b40681712eba1a929
parent971e5cf4fe528f145a38dadcf75310b1ea5ae46c (diff)
Rename identd variable name
-rw-r--r--src/common/cfgfiles.c2
-rw-r--r--src/common/hexchat.h2
-rw-r--r--src/common/plugin-identd.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c
index 73353d1d..4bf2f470 100644
--- a/src/common/cfgfiles.c
+++ b/src/common/cfgfiles.c
@@ -476,7 +476,7 @@ const struct prefs vars[] =
 	{"gui_win_ucount", P_OFFINT (hex_gui_win_ucount), TYPE_BOOL},
 	{"gui_win_width", P_OFFINT (hex_gui_win_width), TYPE_INT},
 
-	{"identd", P_OFFINT (hex_identd), TYPE_BOOL},
+	{"identd_server", P_OFFINT (hex_identd_server), TYPE_BOOL},
 	{"identd_port", P_OFFINT (hex_identd_port), TYPE_INT},
 
 	{"input_balloon_chans", P_OFFINT (hex_input_balloon_chans), TYPE_BOOL},
diff --git a/src/common/hexchat.h b/src/common/hexchat.h
index 652dcf1d..fb389179 100644
--- a/src/common/hexchat.h
+++ b/src/common/hexchat.h
@@ -154,7 +154,7 @@ struct hexchatprefs
 	unsigned int hex_gui_win_save;
 	unsigned int hex_gui_win_swap;
 	unsigned int hex_gui_win_ucount;
-	unsigned int hex_identd;
+	unsigned int hex_identd_server;
 	unsigned int hex_input_balloon_chans;
 	unsigned int hex_input_balloon_hilight;
 	unsigned int hex_input_balloon_priv;
diff --git a/src/common/plugin-identd.c b/src/common/plugin-identd.c
index ce1bd1e6..9501458c 100644
--- a/src/common/plugin-identd.c
+++ b/src/common/plugin-identd.c
@@ -159,7 +159,7 @@ identd_start_server (void)
 	GError *error = NULL;
 	int enabled, port = 113;
 
-	if (hexchat_get_prefs (ph, "identd", NULL, &enabled) == 3)
+	if (hexchat_get_prefs (ph, "identd_server", NULL, &enabled) == 3)
 	{
 		if (!enabled)
 			return;