diff options
Diffstat (limited to 'src/server/cmd/commands')
| -rw-r--r-- | src/server/cmd/commands/action.rs | 7 | ||||
| -rw-r--r-- | src/server/cmd/commands/property/create.rs | 2 | ||||
| -rw-r--r-- | src/server/cmd/commands/text.rs | 3 |
3 files changed, 7 insertions, 5 deletions
diff --git a/src/server/cmd/commands/action.rs b/src/server/cmd/commands/action.rs index e3ed44d..8d1fb0b 100644 --- a/src/server/cmd/commands/action.rs +++ b/src/server/cmd/commands/action.rs @@ -2,9 +2,10 @@ // SPDX-License-Identifier: GPL-3.0-only // TODO: of2m-ify -// Of2m-ifying isn't much of a priority right now as the whole action ordeal hasn't been fully -// dissected yet. -// Once more is known about the inner working of actions, it will be of2m-ified. +// +// Of2m-ifying isn't much of a priority right now as the whole action ordeal +// hasn't been fully dissected yet. Once more is known about the inner working +// of actions, it will be of2m-ified. use bytes::{BufMut, BytesMut}; diff --git a/src/server/cmd/commands/property/create.rs b/src/server/cmd/commands/property/create.rs index ec4de1e..e4c4eb2 100644 --- a/src/server/cmd/commands/property/create.rs +++ b/src/server/cmd/commands/property/create.rs @@ -1,7 +1,7 @@ // Copyleft (ɔ) 2021-2021 The Whirlsplash Collective // SPDX-License-Identifier: GPL-3.0-only -// TODO: of2m-ify +// TODO: of2m-ify? use crate::{ config::Config, diff --git a/src/server/cmd/commands/text.rs b/src/server/cmd/commands/text.rs index a286a14..5019fc1 100644 --- a/src/server/cmd/commands/text.rs +++ b/src/server/cmd/commands/text.rs @@ -24,7 +24,8 @@ impl Creatable for Text { // Content // TODO: Find a way to parse ObjIds. - // The below byte is suspected to be the sender's short ObjId. + // + // The below byte is suspected to be the sender's short ObjId. command.put_i8(0x00); command.put_u8(self.sender.len() as u8); |