mirror of
https://github.com/weechat/weechat.git
synced 2026-07-10 18:45:41 +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:
@@ -5,6 +5,8 @@ ChangeLog - 2006-01-08
|
||||
|
||||
|
||||
Version 0.1.7 (under dev!):
|
||||
* removed "irc_default_msg_away" setting, for RFC 2812 conformity
|
||||
(/away command wihtout argument only removes away status)
|
||||
* fixed refresh bug with Solaris when term size is changed
|
||||
* replaced Texinfo doc by XML Docbook
|
||||
* added color for window separators (when splited)
|
||||
|
||||
@@ -762,13 +762,6 @@
|
||||
<entry></entry>
|
||||
<entry>Display message to all channels when (un)marking as away</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>irc_default_msg_away</option></entry>
|
||||
<entry>string</entry>
|
||||
<entry>any string</entry>
|
||||
<entry></entry>
|
||||
<entry>Default message when away</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>irc_default_msg_part</option></entry>
|
||||
<entry>string</entry>
|
||||
|
||||
@@ -1686,10 +1686,6 @@ plugin->msg_handler_add (plugin, "KICK", &msg_kick, NULL, NULL);
|
||||
<entry><literal>%w</literal></entry>
|
||||
<entry>WeeChat commands</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>%y</literal></entry>
|
||||
<entry>default "away" message</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
|
||||
+1
-8
@@ -759,16 +759,9 @@
|
||||
<entry><option>irc_display_away</option></entry>
|
||||
<entry>booléen</entry>
|
||||
<entry>'on' ou 'off'</entry>
|
||||
<entry>'on'</entry>
|
||||
<entry>'off'</entry>
|
||||
<entry>Affiche un message sur tous les canaux pour l'absence/le retour</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>irc_default_msg_away</option></entry>
|
||||
<entry>chaîne</entry>
|
||||
<entry>toute chaîne</entry>
|
||||
<entry>'away'</entry>
|
||||
<entry>Message par défaut pour l'absence</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>irc_default_msg_part</option></entry>
|
||||
<entry>chaîne</entry>
|
||||
|
||||
@@ -1715,10 +1715,6 @@ plugin->msg_handler_add (plugin, "KICK", &msg_kick, NULL, NULL);
|
||||
<entry><literal>%w</literal></entry>
|
||||
<entry>commandes WeeChat</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>%y</literal></entry>
|
||||
<entry>message d'absence ("away") par défaut</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -650,7 +650,6 @@ t_config_option weechat_options_log[] =
|
||||
/* config, irc section */
|
||||
|
||||
int cfg_irc_display_away;
|
||||
char *cfg_irc_default_msg_away;
|
||||
char *cfg_irc_default_msg_part;
|
||||
char *cfg_irc_default_msg_quit;
|
||||
int cfg_irc_notice_as_pv;
|
||||
@@ -668,10 +667,6 @@ t_config_option weechat_options_irc[] =
|
||||
N_("display message to all channels when (un)marking as away"),
|
||||
OPTION_TYPE_BOOLEAN, BOOL_FALSE, BOOL_TRUE, BOOL_FALSE,
|
||||
NULL, NULL, &cfg_irc_display_away, NULL, &config_change_noop },
|
||||
{ "irc_default_msg_away", N_("default message when away"),
|
||||
N_("default message when away"),
|
||||
OPTION_TYPE_STRING, 0, 0, 0,
|
||||
"away", NULL, NULL, &cfg_irc_default_msg_away, &config_change_noop },
|
||||
{ "irc_default_msg_part", N_("default part message (leaving channel)"),
|
||||
N_("default part message (leaving channel)"),
|
||||
OPTION_TYPE_STRING, 0, 0, 0,
|
||||
|
||||
@@ -183,7 +183,6 @@ extern char *cfg_log_timestamp;
|
||||
extern int cfg_log_hide_nickserv_pwd;
|
||||
|
||||
extern int cfg_irc_display_away;
|
||||
extern char *cfg_irc_default_msg_away;
|
||||
extern char *cfg_irc_default_msg_part;
|
||||
extern char *cfg_irc_default_msg_quit;
|
||||
extern int cfg_irc_notice_as_pv;
|
||||
|
||||
+44
-51
File diff suppressed because it is too large
Load Diff
@@ -5,6 +5,8 @@ ChangeLog - 2006-01-08
|
||||
|
||||
|
||||
Version 0.1.7 (under dev!):
|
||||
* removed "irc_default_msg_away" setting, for RFC 2812 conformity
|
||||
(/away command wihtout argument only removes away status)
|
||||
* fixed refresh bug with Solaris when term size is changed
|
||||
* replaced Texinfo doc by XML Docbook
|
||||
* added color for window separators (when splited)
|
||||
|
||||
@@ -762,13 +762,6 @@
|
||||
<entry></entry>
|
||||
<entry>Display message to all channels when (un)marking as away</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>irc_default_msg_away</option></entry>
|
||||
<entry>string</entry>
|
||||
<entry>any string</entry>
|
||||
<entry></entry>
|
||||
<entry>Default message when away</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>irc_default_msg_part</option></entry>
|
||||
<entry>string</entry>
|
||||
|
||||
@@ -1686,10 +1686,6 @@ plugin->msg_handler_add (plugin, "KICK", &msg_kick, NULL, NULL);
|
||||
<entry><literal>%w</literal></entry>
|
||||
<entry>WeeChat commands</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>%y</literal></entry>
|
||||
<entry>default "away" message</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
|
||||
@@ -759,16 +759,9 @@
|
||||
<entry><option>irc_display_away</option></entry>
|
||||
<entry>booléen</entry>
|
||||
<entry>'on' ou 'off'</entry>
|
||||
<entry>'on'</entry>
|
||||
<entry>'off'</entry>
|
||||
<entry>Affiche un message sur tous les canaux pour l'absence/le retour</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>irc_default_msg_away</option></entry>
|
||||
<entry>chaîne</entry>
|
||||
<entry>toute chaîne</entry>
|
||||
<entry>'away'</entry>
|
||||
<entry>Message par défaut pour l'absence</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><option>irc_default_msg_part</option></entry>
|
||||
<entry>chaîne</entry>
|
||||
|
||||
@@ -1715,10 +1715,6 @@ plugin->msg_handler_add (plugin, "KICK", &msg_kick, NULL, NULL);
|
||||
<entry><literal>%w</literal></entry>
|
||||
<entry>commandes WeeChat</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>%y</literal></entry>
|
||||
<entry>message d'absence ("away") par défaut</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -650,7 +650,6 @@ t_config_option weechat_options_log[] =
|
||||
/* config, irc section */
|
||||
|
||||
int cfg_irc_display_away;
|
||||
char *cfg_irc_default_msg_away;
|
||||
char *cfg_irc_default_msg_part;
|
||||
char *cfg_irc_default_msg_quit;
|
||||
int cfg_irc_notice_as_pv;
|
||||
@@ -668,10 +667,6 @@ t_config_option weechat_options_irc[] =
|
||||
N_("display message to all channels when (un)marking as away"),
|
||||
OPTION_TYPE_BOOLEAN, BOOL_FALSE, BOOL_TRUE, BOOL_FALSE,
|
||||
NULL, NULL, &cfg_irc_display_away, NULL, &config_change_noop },
|
||||
{ "irc_default_msg_away", N_("default message when away"),
|
||||
N_("default message when away"),
|
||||
OPTION_TYPE_STRING, 0, 0, 0,
|
||||
"away", NULL, NULL, &cfg_irc_default_msg_away, &config_change_noop },
|
||||
{ "irc_default_msg_part", N_("default part message (leaving channel)"),
|
||||
N_("default part message (leaving channel)"),
|
||||
OPTION_TYPE_STRING, 0, 0, 0,
|
||||
|
||||
@@ -183,7 +183,6 @@ extern char *cfg_log_timestamp;
|
||||
extern int cfg_log_hide_nickserv_pwd;
|
||||
|
||||
extern int cfg_irc_display_away;
|
||||
extern char *cfg_irc_default_msg_away;
|
||||
extern char *cfg_irc_default_msg_part;
|
||||
extern char *cfg_irc_default_msg_quit;
|
||||
extern int cfg_irc_notice_as_pv;
|
||||
|
||||
+44
-51
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user