From 0450b4a5d436c1408b399150a89cbb2e7982f23f Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 13 Feb 2009 18:57:55 +0000 Subject: Move status prompt/message init and teardown into status.c. --- cmd-command-prompt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cmd-command-prompt.c') 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 @@ -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; } -- cgit