aboutsummaryrefslogtreecommitdiff
path: root/options-table.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2014-03-07 15:37:01 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2014-03-07 15:37:01 +0000
commit683ca270d4b3ffc64a0d9cb86161dfb48a7fe0ca (patch)
tree06b7e5c41a6ada65ed74f1e7d04444c854f923a5 /options-table.c
parent78e783e7863eb33981da4a5ad48dd9e2aa2b08dd (diff)
downloadrtmux-683ca270d4b3ffc64a0d9cb86161dfb48a7fe0ca.tar.gz
rtmux-683ca270d4b3ffc64a0d9cb86161dfb48a7fe0ca.tar.bz2
rtmux-683ca270d4b3ffc64a0d9cb86161dfb48a7fe0ca.zip
Make message-limit a server option.
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/options-table.c b/options-table.c
index 64d3edcd..7b09a687 100644
--- a/options-table.c
+++ b/options-table.c
@@ -80,6 +80,13 @@ const struct options_table_entry server_options_table[] = {
.default_num = 0
},
+ { .name = "message-limit",
+ .type = OPTIONS_TABLE_NUMBER,
+ .minimum = 0,
+ .maximum = INT_MAX,
+ .default_num = 100
+ },
+
{ .name = "quiet",
.type = OPTIONS_TABLE_FLAG,
.default_num = 0 /* overridden in main() */
@@ -234,13 +241,6 @@ const struct options_table_entry session_options_table[] = {
.style = "message-style"
},
- { .name = "message-limit",
- .type = OPTIONS_TABLE_NUMBER,
- .minimum = 0,
- .maximum = INT_MAX,
- .default_num = 20
- },
-
{ .name = "message-style",
.type = OPTIONS_TABLE_STYLE,
.default_str = "bg=yellow,fg=black"