summaryrefslogtreecommitdiff
path: root/src/common/completion.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-01-08 01:22:25 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-01-08 01:22:25 +0000
commitb1f83dce8a9979aad72ccc5b2f34455488cc6c6e (patch)
treec4fa83a298c271b1530a7a51c1f5e9fff453b518 /src/common/completion.c
parentdd39ac243273052609e5f3ee6a5217f07e06402d (diff)
downloadweechat-b1f83dce8a9979aad72ccc5b2f34455488cc6c6e.zip
Removed "irc_default_msg_away" setting, for RFC 2812 conformity (/away command
wihtout argument only removes away status)
Diffstat (limited to 'src/common/completion.c')
-rw-r--r--src/common/completion.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/common/completion.c b/src/common/completion.c
index a2bd350c8..fb4f4ff90 100644
--- a/src/common/completion.c
+++ b/src/common/completion.c
@@ -574,19 +574,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;