diff options
Diffstat (limited to 'modules/operserv/ignore.cpp')
-rw-r--r-- | modules/operserv/ignore.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/operserv/ignore.cpp b/modules/operserv/ignore.cpp index a25b0ef8c..397916ca4 100644 --- a/modules/operserv/ignore.cpp +++ b/modules/operserv/ignore.cpp @@ -25,12 +25,11 @@ class IgnoreImpl : public Ignore { friend class IgnoreType; - Anope::string mask, creator, reason; - time_t time = 0; + Serialize::Storage<Anope::string> mask, creator, reason; + Serialize::Storage<time_t> time; public: - IgnoreImpl(Serialize::TypeBase *type) : Ignore(type) { } - IgnoreImpl(Serialize::TypeBase *type, Serialize::ID id) : Ignore(type, id) { } + using Ignore::Ignore; Anope::string GetMask() override; void SetMask(const Anope::string &) override; |