summaryrefslogtreecommitdiffstats
path: root/key-bindings.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-06-02 18:23:37 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-06-02 18:23:37 +0000
commitf97db614397ed6ae721f4d7458ebb0f499aee185 (patch)
tree3e6c24dff97aa96e7715b47feb827cfd9bf69b0f /key-bindings.c
parentc7243b73cb3baaf6993d8a9dfb16c054c3978040 (diff)
Clear msgdata where it is unavailable.
Diffstat (limited to 'key-bindings.c')
-rw-r--r--key-bindings.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/key-bindings.c b/key-bindings.c
index 96a220f2..8754a7a0 100644
--- a/key-bindings.c
+++ b/key-bindings.c
@@ -1,4 +1,4 @@
-/* $Id: key-bindings.c,v 1.26 2008-06-02 18:08:16 nicm Exp $ */
+/* $Id: key-bindings.c,v 1.27 2008-06-02 18:23:37 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -188,6 +188,7 @@ key_bindings_dispatch(int key, struct client *c)
if (i == ARRAY_LENGTH(&key_bindings))
return;
+ ctx.msgdata = NULL;
ctx.cursession = c->session;
ctx.curclient = c;