From 5dafa60433b0cdf3ce1228b3d33f6b6381205b2c Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Mon, 25 Jan 2016 20:37:53 -0500 Subject: Rename identd variable name --- src/common/cfgfiles.c | 2 +- src/common/hexchat.h | 2 +- src/common/plugin-identd.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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; -- cgit 1.4.1