diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-02-13 18:57:55 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-02-13 18:57:55 +0000 |
commit | 0450b4a5d436c1408b399150a89cbb2e7982f23f (patch) | |
tree | 0d9b50225b2b652fb9defcbb3209d17245a5f246 /cmd-command-prompt.c | |
parent | fdafe630049861c7d6f293bc34064182d8f326f8 (diff) |
Move status prompt/message init and teardown into status.c.
Diffstat (limited to 'cmd-command-prompt.c')
-rw-r--r-- | cmd-command-prompt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd-command-prompt.c b/cmd-command-prompt.c index 0f40870b..c46d2dc7 100644 --- a/cmd-command-prompt.c +++ b/cmd-command-prompt.c @@ -1,4 +1,4 @@ -/* $Id: cmd-command-prompt.c,v 1.13 2009-01-30 21:10:10 nicm Exp $ */ +/* $Id: cmd-command-prompt.c,v 1.14 2009-02-13 18:57:55 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net> @@ -96,7 +96,7 @@ cmd_command_prompt_exec(struct cmd *self, struct cmd_ctx *ctx) cdata->template = NULL; hdr = xstrdup(":"); } - server_set_client_prompt(c, hdr, cmd_command_prompt_callback, cdata, 0); + status_prompt_set(c, hdr, cmd_command_prompt_callback, cdata, 0); xfree(hdr); return (0); @@ -148,7 +148,7 @@ cmd_command_prompt_callback(void *data, const char *s) if (cause == NULL) return (0); *cause = toupper((u_char) *cause); - server_set_client_message(c, cause); + status_message_set(c, cause); xfree(cause); cmdlist = NULL; } |