diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-02 18:23:37 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-02 18:23:37 +0000 |
commit | f97db614397ed6ae721f4d7458ebb0f499aee185 (patch) | |
tree | 3e6c24dff97aa96e7715b47feb827cfd9bf69b0f /server-msg.c | |
parent | c7243b73cb3baaf6993d8a9dfb16c054c3978040 (diff) |
Clear msgdata where it is unavailable.
Diffstat (limited to 'server-msg.c')
-rw-r--r-- | server-msg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server-msg.c b/server-msg.c index ed8b86b6..d419e9f2 100644 --- a/server-msg.c +++ b/server-msg.c @@ -1,4 +1,4 @@ -/* $Id: server-msg.c,v 1.44 2008-06-02 18:08:17 nicm Exp $ */ +/* $Id: server-msg.c,v 1.45 2008-06-02 18:23:37 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -122,9 +122,9 @@ server_msg_fn_command(struct hdr *hdr, struct client *c) ctx.error = server_msg_fn_command_error; ctx.print = server_msg_fn_command_print; + ctx.msgdata = &data; ctx.curclient = NULL; ctx.cursession = NULL; - ctx.msgdata = &data; ctx.cmdclient = c; ctx.flags = 0; |