aboutsummaryrefslogtreecommitdiff
path: root/options-table.c
diff options
context:
space:
mode:
authornicm <nicm>2014-03-31 21:41:35 +0000
committernicm <nicm>2014-03-31 21:41:35 +0000
commitdca7d1c0fd9dc16aca2337c078da7441dbf97eeb (patch)
tree2bf483fa92021fdfa65870178e4a90e91d69b381 /options-table.c
parent1704d4a6b799525f510860919b8c8c4315154a05 (diff)
downloadrtmux-dca7d1c0fd9dc16aca2337c078da7441dbf97eeb.tar.gz
rtmux-dca7d1c0fd9dc16aca2337c078da7441dbf97eeb.tar.bz2
rtmux-dca7d1c0fd9dc16aca2337c078da7441dbf97eeb.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 ea848259..bc25573a 100644
--- a/options-table.c
+++ b/options-table.c
@@ -81,6 +81,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() */
@@ -243,13 +250,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"