aboutsummaryrefslogtreecommitdiff
path: root/xC-proto
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-09-21 16:32:08 +0200
committerPřemysl Eric Janouch <p@janouch.name>2022-09-21 16:32:35 +0200
commitd3628928b919bd12deb224f5c3db3a7be5e7140b (patch)
tree7d3833e13f9157dd614453d459aba500a6f0d867 /xC-proto
parent1f0e0b1ce40b765af744d025a83bb85e0994244d (diff)
downloadxK-d3628928b919bd12deb224f5c3db3a7be5e7140b.tar.gz
xK-d3628928b919bd12deb224f5c3db3a7be5e7140b.tar.xz
xK-d3628928b919bd12deb224f5c3db3a7be5e7140b.zip
xC/xP: relay and render channel modes
Diffstat (limited to 'xC-proto')
-rw-r--r--xC-proto4
1 files changed, 3 insertions, 1 deletions
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: