[Commands] Consolidate #lock and #unlock Commands into #serverlock. (#2193)

- Convert the two commands into one command.
- Cleanup struct naming.
This commit is contained in:
Kinglykrab
2022-05-22 22:30:56 -04:00
committed by GitHub
parent 6b85c914a5
commit 992e4ac59e
7 changed files with 35 additions and 45 deletions
+2 -2
View File
@@ -740,8 +740,8 @@ struct ServerMultiLineMsg_Struct {
};
struct ServerLock_Struct {
char myname[64]; // User that did it
uint8 mode; // 0 = Unlocked ; 1 = Locked
char character_name[64];
bool is_locked;
};
struct ServerMotd_Struct {