summaryrefslogtreecommitdiffstats
path: root/cmd-show-messages.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-show-messages.c')
-rw-r--r--cmd-show-messages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-show-messages.c b/cmd-show-messages.c
index 8da12374..8383b2ce 100644
--- a/cmd-show-messages.c
+++ b/cmd-show-messages.c
@@ -68,7 +68,7 @@ cmd_show_messages_terminals(struct cmdq_item *item, int blank)
static enum cmd_retval
cmd_show_messages_exec(struct cmd *self, struct cmdq_item *item)
{
- struct args *args = self->args;
+ struct args *args = cmd_get_args(self);
struct client *c;
struct message_entry *msg;
char *tim;