summaryrefslogtreecommitdiff
path: root/modules/chanserv/log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/chanserv/log.cpp')
-rw-r--r--modules/chanserv/log.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/modules/chanserv/log.cpp b/modules/chanserv/log.cpp
index b62e03d0e..f2d782c1c 100644
--- a/modules/chanserv/log.cpp
+++ b/modules/chanserv/log.cpp
@@ -25,13 +25,12 @@ class LogSettingImpl : public LogSetting
{
friend class LogSettingType;
- ChanServ::Channel *channel = nullptr;
- Anope::string service_name, command_service, command_name, method, extra, creator;
- time_t created = 0;
+ Serialize::Storage<ChanServ::Channel *> channel;
+ Serialize::Storage<Anope::string> service_name, command_service, command_name, method, extra, creator;
+ Serialize::Storage<time_t> created;
public:
- LogSettingImpl(Serialize::TypeBase *type) : LogSetting(type) { }
- LogSettingImpl(Serialize::TypeBase *type, Serialize::ID id) : LogSetting(type, id) { }
+ using LogSetting::LogSetting;
ChanServ::Channel *GetChannel() override;
void SetChannel(ChanServ::Channel *) override;