diff options
| author | metamuffin <metamuffin@disroot.org> | 2025-10-30 16:52:41 +0100 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2025-10-30 19:35:02 +0100 |
| commit | d861319090fa6378aabf4fd102566083b915c1a5 (patch) | |
| tree | 2c86887cb3c2dcbb0a04df3619ffdae451841d14 /server/protocol | |
| parent | 3f81613f752befe2a54e5d3cff4c856c3adb6e26 (diff) | |
| download | hurrycurry-d861319090fa6378aabf4fd102566083b915c1a5.tar hurrycurry-d861319090fa6378aabf4fd102566083b915c1a5.tar.bz2 hurrycurry-d861319090fa6378aabf4fd102566083b915c1a5.tar.zst | |
Add disconnect reasons
Diffstat (limited to 'server/protocol')
| -rw-r--r-- | server/protocol/src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/protocol/src/lib.rs b/server/protocol/src/lib.rs index 09134a4f..15911dd3 100644 --- a/server/protocol/src/lib.rs +++ b/server/protocol/src/lib.rs @@ -294,6 +294,10 @@ pub enum PacketC { item: ItemIndex, success: bool, }, + + Disconnect { + reason: Message, + }, Redirect { uri: Vec<String>, }, |