mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-22 17:22:18 -05:00
Add option to auto +x on connect
This commit is contained in:
parent
cf5e2f273f
commit
d960006de4
@ -516,6 +516,7 @@ const struct prefs vars[] =
|
||||
{"irc_conf_mode", P_OFFINT (hex_irc_conf_mode), TYPE_BOOL},
|
||||
{"irc_extra_hilight", P_OFFSET (hex_irc_extra_hilight), TYPE_STR},
|
||||
{"irc_hide_version", P_OFFINT (hex_irc_hide_version), TYPE_BOOL},
|
||||
{"irc_hidehost", P_OFFINT (hex_irc_hidehost), TYPE_BOOL},
|
||||
{"irc_id_ntext", P_OFFSET (hex_irc_id_ntext), TYPE_STR},
|
||||
{"irc_id_ytext", P_OFFSET (hex_irc_id_ytext), TYPE_STR},
|
||||
{"irc_invisible", P_OFFINT (hex_irc_invisible), TYPE_BOOL},
|
||||
|
@ -208,6 +208,7 @@ struct hexchatprefs
|
||||
unsigned int hex_input_tray_priv;
|
||||
unsigned int hex_irc_auto_rejoin;
|
||||
unsigned int hex_irc_conf_mode;
|
||||
unsigned int hex_irc_hidehost;
|
||||
unsigned int hex_irc_hide_version;
|
||||
unsigned int hex_irc_invisible;
|
||||
unsigned int hex_irc_logging;
|
||||
|
@ -1288,6 +1288,8 @@ set_default_modes (server *serv)
|
||||
strcat (modes, "s");
|
||||
if (prefs.hex_irc_invisible)
|
||||
strcat (modes, "i");
|
||||
if (prefs.hex_irc_hidehost)
|
||||
strcat (modes, "x");
|
||||
|
||||
if (modes[1] != '\0')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user