Skip to content

Commit 9d69afd

Browse files
committed
Document the oper maxchans field.
Closes #251.
1 parent 71e0c11 commit 9d69afd

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

docs/4/configuration/_oper.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,13 @@ attributes:
5555
required: false
5656
default: 'never'
5757
description: |-
58-
Whether to automatically log server operators in when they connect to the server.
58+
Whether to automatically log this server operator in when they connect to the server.
59+
- name: maxchans
60+
type: Number
61+
required: false
62+
default: '20'
63+
description: |-
64+
If defined then the maximum number of channels this server operator can be in.
5965
- name: commands
6066
type: Text
6167
required: false
@@ -108,6 +114,7 @@ example: |-
108114
type="NetAdmin"
109115
vhost="staff.example.net"
110116
autologin="never"
117+
maxchans="100"
111118
commands="-* KILL ZLINE"
112119
privs="users/auspex -servers/auspex"
113120
chanmodes="-*+P"

docs/4/configuration/_type.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ attributes:
3232
default: 'never'
3333
description: |-
3434
Whether to automatically log server operators using this type in when they connect to the server.
35+
- name: maxchans
36+
type: Number
37+
required: false
38+
default: '20'
39+
description: |-
40+
If defined then the maximum number of channels that a server operator using this type can be in.
3541
- name: commands
3642
type: Text
3743
required: false
@@ -77,6 +83,7 @@ example: |-
7783
classes="BanControl HostCloak OperChat SACommands ServerLink Shutdown"
7884
vhost="staff.example.net"
7985
autologin="never"
86+
maxchans="100"
8087
commands="-* KILL ZLINE"
8188
privs="users/auspex -servers/auspex"
8289
chanmodes="-*+P"

0 commit comments

Comments
 (0)