aboutsummaryrefslogtreecommitdiff
path: root/src/serializable.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-03-27 07:07:29 +0100
committerGravatar Sadie Powell2022-03-27 16:09:19 +0100
commit414105e409cf8b90c3d9d417bb73795b19d843c4 (patch)
tree38ba2fdca1620920aaa34f536a720851e326d748 /src/serializable.cpp
parentUndocument removed config option. (diff)
Add a typedef for the mode status bitset.
Diffstat (limited to 'src/serializable.cpp')
-rw-r--r--src/serializable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serializable.cpp b/src/serializable.cpp
index 9fc184cc1..c37b86c5b 100644
--- a/src/serializable.cpp
+++ b/src/serializable.cpp
@@ -153,7 +153,7 @@ bool User::Deserialize(Serializable::Data& data)
.Load("uniqueusername", user_uniqueusername);
// Apply the rest of the members.
- modes = std::bitset<ModeParser::MODEID_MAX>(user_modes);
+ modes = ModeParser::ModeStatus(user_modes);
snomasks = std::bitset<64>(user_snomasks);
uniqueusername = user_uniqueusername;