mirror of
https://github.com/irssi/irssi.git
synced 2026-08-22 18:12:12 +02:00
Merge 1e1dc0df1a into 31b9d115b0
This commit is contained in:
commit
6bbb61cea1
4 changed files with 0 additions and 6 deletions
|
|
@ -249,8 +249,6 @@ static int cmd_options_get_signal(const char *cmd,
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
signame = list->data;
|
signame = list->data;
|
||||||
signum = -1;
|
|
||||||
|
|
||||||
signum = is_numeric(signame, 0) ? atol(signame) :
|
signum = is_numeric(signame, 0) ? atol(signame) :
|
||||||
signal_name_to_id(signame);
|
signal_name_to_id(signame);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -232,7 +232,6 @@ static void show_help(const char *data)
|
||||||
if (!header) {
|
if (!header) {
|
||||||
printtext(NULL, NULL, MSGLEVEL_CLIENTCRAP,
|
printtext(NULL, NULL, MSGLEVEL_CLIENTCRAP,
|
||||||
"Irssi commands:");
|
"Irssi commands:");
|
||||||
header = TRUE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (last->category != NULL) {
|
if (last->category != NULL) {
|
||||||
|
|
|
||||||
|
|
@ -242,7 +242,6 @@ static void event_pong(IRC_SERVER_REC *server, const char *data, const char *nic
|
||||||
char *params, *host, *reply;
|
char *params, *host, *reply;
|
||||||
|
|
||||||
g_return_if_fail(data != NULL);
|
g_return_if_fail(data != NULL);
|
||||||
if (nick == NULL) nick = server->real_address;
|
|
||||||
|
|
||||||
params = event_get_params(data, 2 | PARAM_FLAG_GETREST, &host, &reply);
|
params = event_get_params(data, 2 | PARAM_FLAG_GETREST, &host, &reply);
|
||||||
printformat(server, NULL, MSGLEVEL_CRAP, IRCTXT_PONG, host, reply);
|
printformat(server, NULL, MSGLEVEL_CRAP, IRCTXT_PONG, host, reply);
|
||||||
|
|
|
||||||
|
|
@ -138,8 +138,6 @@ static void init_userinfo(void)
|
||||||
if (nick == NULL || *nick == '\0') {
|
if (nick == NULL || *nick == '\0') {
|
||||||
str = g_getenv("IRCNICK");
|
str = g_getenv("IRCNICK");
|
||||||
settings_set_str("nick", str != NULL ? str : user_name);
|
settings_set_str("nick", str != NULL ? str : user_name);
|
||||||
|
|
||||||
nick = settings_get_str("nick");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* host name */
|
/* host name */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue