mirror of
https://github.com/weechat/weechat.git
synced 2026-07-05 01:03:14 +02:00
Removed "irc_default_msg_away" setting, for RFC 2812 conformity (/away command
wihtout argument only removes away status)
This commit is contained in:
@@ -573,19 +573,6 @@ completion_list_add_weechat_cmd (t_completion *completion)
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* completion_list_add_away: add away message to completion list
|
||||
*/
|
||||
|
||||
void
|
||||
completion_list_add_away (t_completion *completion)
|
||||
{
|
||||
if (cfg_irc_default_msg_away && cfg_irc_default_msg_away[0])
|
||||
weelist_add (&completion->completion_list,
|
||||
&completion->last_completion,
|
||||
cfg_irc_default_msg_away);
|
||||
}
|
||||
|
||||
/*
|
||||
* completion_build_list_template: build data list according to a template
|
||||
*/
|
||||
@@ -680,9 +667,6 @@ completion_build_list_template (t_completion *completion, char *template)
|
||||
case 'w': /* WeeChat commands */
|
||||
completion_list_add_weechat_cmd (completion);
|
||||
break;
|
||||
case 'y': /* away message */
|
||||
completion_list_add_away (completion);
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user