1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-26 12:56:38 +02:00
Files
unrealircd/include
Bram Matthys 957af0909b RPC: channel.get and channel.list now have optional object_detail_level.
This is an integer which decides the amount of details in the response object.

For the channel.* calls the object_detail_level is one of:
0: only return the channel name, nothing else
1: basic channel information only
2: this adds bans, ban_exemptions, invite_exceptions
3: also show members, but only level/name/id
4: also show members, level/name/id/hostname/ip/details/geoip
5: also show members, level and full user details like user.get

When no object_detail_level is specified, the following defaults are used:
For channel.list the default is 1 (matches current 6.0.6 behavior)
For channel.get the default is 3 (matches current 6.0.6 behavior)

Using channel.list with object_detail_level=5 is forbidden because
it would cause way too much output (and processing time).
2023-03-27 09:56:03 +02:00
..
2023-03-25 09:19:41 +01:00
2021-09-23 19:21:19 +02:00
2000-02-28 22:45:44 +00:00
2004-05-13 16:39:23 +00:00
2022-01-28 17:02:19 +01:00