mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Fix minor nits
This commit is contained in:
parent
4292dbd202
commit
2bb913f0c1
@ -305,18 +305,16 @@ static void cmd_channel_add_modify(const char *data, gboolean add)
|
|||||||
cmd_params_free(free_arg);
|
cmd_params_free(free_arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SYNTAX: CHANNEL ADD [-auto | -noauto] [-bots <masks>] [-botcmd <command>]
|
/* SYNTAX: CHANNEL ADD|MODIFY [-auto | -noauto] [-bots <masks>] [-botcmd <command>]
|
||||||
<channel> <network> [<password>] */
|
<channel> <network> [<password>] */
|
||||||
static void cmd_channel_add(const char *data)
|
static void cmd_channel_add(const char *data)
|
||||||
{
|
{
|
||||||
cmd_channel_add_modify(data, 1);
|
cmd_channel_add_modify(data, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SYNTAX: CHANNEL MODIFY [-auto | -noauto] [-bots <masks>] [-botcmd <command>]
|
|
||||||
<channel> <network> [<password>] */
|
|
||||||
static void cmd_channel_modify(const char *data)
|
static void cmd_channel_modify(const char *data)
|
||||||
{
|
{
|
||||||
cmd_channel_add_modify(data, 0);
|
cmd_channel_add_modify(data, FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SYNTAX: CHANNEL REMOVE <channel> <network> */
|
/* SYNTAX: CHANNEL REMOVE <channel> <network> */
|
||||||
|
@ -214,12 +214,12 @@ static void cmd_server_add_modify(const char *data, gboolean add)
|
|||||||
|
|
||||||
static void cmd_server_add(const char *data)
|
static void cmd_server_add(const char *data)
|
||||||
{
|
{
|
||||||
cmd_server_add_modify(data, 1);
|
cmd_server_add_modify(data, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void cmd_server_modify(const char *data)
|
static void cmd_server_modify(const char *data)
|
||||||
{
|
{
|
||||||
cmd_server_add_modify(data, 0);
|
cmd_server_add_modify(data, FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SYNTAX: SERVER REMOVE <address> [<port>] [<network>] */
|
/* SYNTAX: SERVER REMOVE <address> [<port>] [<network>] */
|
||||||
|
@ -51,18 +51,12 @@ const char *get_visible_target(IRC_SERVER_REC *server, const char *target)
|
|||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SYNTAX: SERVER ADD [-4 | -6] [-ssl] [-ssl_cert <cert>] [-ssl_pkey <pkey>] [-ssl_pass <password>]
|
/* SYNTAX: SERVER ADD|MODIFY [-4 | -6] [-ssl] [-ssl_cert <cert>] [-ssl_pkey <pkey>] [-ssl_pass <password>]
|
||||||
[-ssl_verify] [-ssl_cafile <cafile>] [-ssl_capath <capath>]
|
[-ssl_verify] [-ssl_cafile <cafile>] [-ssl_capath <capath>]
|
||||||
[-ssl_ciphers <list>]
|
[-ssl_ciphers <list>]
|
||||||
[-auto | -noauto] [-network <network>] [-host <hostname>]
|
[-auto | -noauto] [-network <network>] [-host <hostname>]
|
||||||
[-cmdspeed <ms>] [-cmdmax <count>] [-port <port>]
|
[-cmdspeed <ms>] [-cmdmax <count>] [-port <port>]
|
||||||
<address> [<port> [<password>]] */
|
<address> [<port> [<password>]] */
|
||||||
/* SYNTAX: SERVER MODIFY [-4 | -6] [-ssl] [-ssl_cert <cert>] [-ssl_pkey <pkey>] [-ssl_pass <password>]
|
|
||||||
[-ssl_verify] [-ssl_cafile <cafile>] [-ssl_capath <capath>]
|
|
||||||
[-ssl_ciphers <list>]
|
|
||||||
[-auto | -noauto] [-network <network>] [-host <hostname>]
|
|
||||||
[-cmdspeed <ms>] [-cmdmax <count>] [-port <port>]
|
|
||||||
<address> [<port> [<password>]] */
|
|
||||||
/* NOTE: -network replaces the old -ircnet flag. */
|
/* NOTE: -network replaces the old -ircnet flag. */
|
||||||
static void sig_server_add_fill(IRC_SERVER_SETUP_REC *rec,
|
static void sig_server_add_fill(IRC_SERVER_SETUP_REC *rec,
|
||||||
GHashTable *optlist)
|
GHashTable *optlist)
|
||||||
|
@ -175,28 +175,21 @@ static void cmd_network_add_modify(const char *data, gboolean add)
|
|||||||
cmd_params_free(free_arg);
|
cmd_params_free(free_arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SYNTAX: NETWORK ADD [-nick <nick>] [-user <user>] [-realname <name>]
|
/* SYNTAX: NETWORK ADD|MODIFY [-nick <nick>] [-user <user>] [-realname <name>]
|
||||||
[-host <host>] [-usermode <mode>] [-autosendcmd <cmd>]
|
[-host <host>] [-usermode <mode>] [-autosendcmd <cmd>]
|
||||||
[-querychans <count>] [-whois <count>] [-msgs <count>]
|
[-querychans <count>] [-whois <count>] [-msgs <count>]
|
||||||
[-kicks <count>] [-modes <count>] [-cmdspeed <ms>]
|
[-kicks <count>] [-modes <count>] [-cmdspeed <ms>]
|
||||||
[-cmdmax <count>] [-sasl_mechanism <mechanism>]
|
[-cmdmax <count>] [-sasl_mechanism <mechanism>]
|
||||||
[-sasl_username <username>] [-sasl_password <password>]
|
[-sasl_username <username>] [-sasl_password <password>]
|
||||||
<name> */
|
<name> */
|
||||||
static void cmd_network_add(const char *data)
|
static void cmd_network_add(const char *data)
|
||||||
{
|
{
|
||||||
cmd_network_add_modify(data, 1);
|
cmd_network_add_modify(data, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SYNTAX: NETWORK MODIFY [-nick <nick>] [-user <user>] [-realname <name>]
|
|
||||||
[-host <host>] [-usermode <mode>] [-autosendcmd <cmd>]
|
|
||||||
[-querychans <count>] [-whois <count>] [-msgs <count>]
|
|
||||||
[-kicks <count>] [-modes <count>] [-cmdspeed <ms>]
|
|
||||||
[-cmdmax <count>] [-sasl_mechanism <mechanism>]
|
|
||||||
[-sasl_username <username>] [-sasl_password <password>]
|
|
||||||
<name> */
|
|
||||||
static void cmd_network_modify(const char *data)
|
static void cmd_network_modify(const char *data)
|
||||||
{
|
{
|
||||||
cmd_network_add_modify(data, 0);
|
cmd_network_add_modify(data, FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SYNTAX: NETWORK REMOVE <network> */
|
/* SYNTAX: NETWORK REMOVE <network> */
|
||||||
|
Loading…
Reference in New Issue
Block a user