Fixed encoding error with `GET_USER_PROPS` command

This commit is contained in:
Tristan B. Kildaire 2020-10-21 09:02:11 +02:00
parent 7e18e8e6fc
commit 494acab21c
1 changed files with 1 additions and 1 deletions

View File

@ -715,7 +715,7 @@ public class DConnection : Thread
}
/* Encode the number of keys (TODO: FOr now you cannot have more than 255 keys) */
reply ~= [cast(byte)propertyKeys.length];
// reply ~= [cast(byte)propertyKeys.length];
}
/* If `get_user_prop` (requires: authed, client) */
else if(command == Command.GET_USER_PROP && hasAuthed && connType == ConnectionType.CLIENT)