summaryrefslogtreecommitdiff
path: root/modules/operserv/info.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/operserv/info.cpp')
-rw-r--r--modules/operserv/info.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/modules/operserv/info.cpp b/modules/operserv/info.cpp
index 30c0b06ad..c6038af5a 100644
--- a/modules/operserv/info.cpp
+++ b/modules/operserv/info.cpp
@@ -27,13 +27,12 @@ class OperInfoImpl : public OperInfo
{
friend class OperInfoType;
- Serialize::Object *target = nullptr;
- Anope::string info, creator;
- time_t created = 0;
+ Serialize::Storage<Serialize::Object *> target;
+ Serialize::Storage<Anope::string> info, creator;
+ Serialize::Storage<time_t> created;
public:
- OperInfoImpl(Serialize::TypeBase *type) : OperInfo(type) { }
- OperInfoImpl(Serialize::TypeBase *type, Serialize::ID id) : OperInfo(type, id) { }
+ using OperInfo::OperInfo;
Serialize::Object *GetTarget() override;
void SetTarget(Serialize::Object *) override;