Rename identd variable name
This commit is contained in:
parent
971e5cf4fe
commit
5dafa60433
@ -476,7 +476,7 @@ const struct prefs vars[] =
|
|||||||
{"gui_win_ucount", P_OFFINT (hex_gui_win_ucount), TYPE_BOOL},
|
{"gui_win_ucount", P_OFFINT (hex_gui_win_ucount), TYPE_BOOL},
|
||||||
{"gui_win_width", P_OFFINT (hex_gui_win_width), TYPE_INT},
|
{"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},
|
{"identd_port", P_OFFINT (hex_identd_port), TYPE_INT},
|
||||||
|
|
||||||
{"input_balloon_chans", P_OFFINT (hex_input_balloon_chans), TYPE_BOOL},
|
{"input_balloon_chans", P_OFFINT (hex_input_balloon_chans), TYPE_BOOL},
|
||||||
|
@ -154,7 +154,7 @@ struct hexchatprefs
|
|||||||
unsigned int hex_gui_win_save;
|
unsigned int hex_gui_win_save;
|
||||||
unsigned int hex_gui_win_swap;
|
unsigned int hex_gui_win_swap;
|
||||||
unsigned int hex_gui_win_ucount;
|
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_chans;
|
||||||
unsigned int hex_input_balloon_hilight;
|
unsigned int hex_input_balloon_hilight;
|
||||||
unsigned int hex_input_balloon_priv;
|
unsigned int hex_input_balloon_priv;
|
||||||
|
@ -159,7 +159,7 @@ identd_start_server (void)
|
|||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
int enabled, port = 113;
|
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)
|
if (!enabled)
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user