aboutsummaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-01-31 02:04:43 +0000
committerGravatar Sadie Powell2022-01-31 12:01:39 +0000
commit7d3055f8c3908da493d29191b175be3f810ff05b (patch)
tree0d8def0a5c9452be28121f5f3e930b3f3010b1af /src/users.cpp
parentRename the ExtensionItem::type field to extype to avoid collisions. (diff)
Add the type to the Extensible class.
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index a02c3570f..0e47ff694 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -77,7 +77,8 @@ std::string User::GetModeLetters(bool includeparams) const
}
User::User(const std::string& uid, Server* srv, Type type)
- : age(ServerInstance->Time())
+ : Extensible(ExtensionType::USER)
+ , age(ServerInstance->Time())
, uuid(uid)
, server(srv)
, registered(REG_NONE)