diff options
author | Tiago Cunha <tcunha@gmx.com> | 2010-12-30 22:39:49 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2010-12-30 22:39:49 +0000 |
commit | 9ebee6aef8aab237314e167f0d0412ddc5ebf513 (patch) | |
tree | 61d060770b8af5e2a467badb74a3aab4d71a6372 /status.c | |
parent | 095e1b410a31166d1f37e8a6ff99e7bb666737ad (diff) | |
download | rtmux-9ebee6aef8aab237314e167f0d0412ddc5ebf513.tar.gz rtmux-9ebee6aef8aab237314e167f0d0412ddc5ebf513.tar.bz2 rtmux-9ebee6aef8aab237314e167f0d0412ddc5ebf513.zip |
Global paste buffers instead of per-session which renders copy-buffer useless.
As a consequence buffer-limit is now a server option.
Diffstat (limited to 'status.c')
-rw-r--r-- | status.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: status.c,v 1.151 2010-12-11 16:15:02 nicm Exp $ */ +/* $Id: status.c,v 1.152 2010-12-30 22:39:49 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -996,7 +996,7 @@ status_prompt_key(struct client *c, int key) c->flags |= CLIENT_STATUS; break; case MODEKEYEDIT_PASTE: - if ((pb = paste_get_top(&c->session->buffers)) == NULL) + if ((pb = paste_get_top(&global_buffers)) == NULL) break; for (n = 0; n < pb->size; n++) { ch = (u_char) pb->data[n]; |