summaryrefslogtreecommitdiff
path: root/include/opertype.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2016-12-01 09:25:53 -0500
committerAdam <Adam@anope.org>2016-12-01 09:25:53 -0500
commitca28f9cfcbff0fbdb2afe96f1427245f83db7c47 (patch)
treeac5de801a4db01a7cb689ec670537ad74c7c53e6 /include/opertype.h
parent2f512281029fbf4f7ef9832e05804831ad2d9ba2 (diff)
Allow objects to opt out of gc, don't gc accounts with users logged in
Also store cached state with the field by using Serialize::Storage for field storage
Diffstat (limited to 'include/opertype.h')
-rw-r--r--include/opertype.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/opertype.h b/include/opertype.h
index 2d36dfad6..46361d576 100644
--- a/include/opertype.h
+++ b/include/opertype.h
@@ -27,8 +27,8 @@ class Oper : public Serialize::Object
{
friend class OperBlockType;
- Anope::string name, password, certfp, host, vhost, type;
- bool require_oper = false;
+ Serialize::Storage<Anope::string> name, password, certfp, host, vhost, type;
+ Serialize::Storage<bool> require_oper;
public:
static constexpr const char *const NAME = "oper";