From 3b42c6116613681abe24c4482ba51b9a3d971c04 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Sun, 15 Feb 2026 18:46:14 -0300 Subject: rename CHANNEL_PRIVATE to FIRST_PRIVATE_CHANNEL for readability Also make it dependent on the number of public channels to avoid de-sync problems between them, when adding new public channels. --- src/operate.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/operate.hh') diff --git a/src/operate.hh b/src/operate.hh index 9dacc78..5e91bb5 100644 --- a/src/operate.hh +++ b/src/operate.hh @@ -31,8 +31,9 @@ enum : int { CHANNEL_TRADE = 5, CHANNEL_RLCHAT = 6, CHANNEL_HELP = 7, - CHANNEL_PRIVATE = 8, + PUBLIC_CHANNELS = 8, + FIRST_PRIVATE_CHANNEL = PUBLIC_CHANNELS, MAX_CHANNELS = 0xFFFF, }; -- cgit v1.2.3