From d3628928b919bd12deb224f5c3db3a7be5e7140b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Wed, 21 Sep 2022 16:32:08 +0200 Subject: xC/xP: relay and render channel modes --- xC-proto | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xC-proto') diff --git a/xC-proto b/xC-proto index 25d48e8..3057404 100644 --- a/xC-proto +++ b/xC-proto @@ -131,6 +131,8 @@ struct EventMessage { case CHANNEL: string server_name; ItemData topic<>; + // This includes parameters, separated by spaces. + string modes; case PRIVATE_MESSAGE: string server_name; } context; @@ -169,7 +171,7 @@ struct EventMessage { void; case REGISTERED: string user; - string user_mode; + string user_modes; // Theoretically, we could also send user information in this state, // but we'd have to duplicate both fields. case DISCONNECTING: -- cgit v1.2.3