diff options
| author | Adam <Adam@anope.org> | 2017-02-07 17:20:07 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2017-02-07 17:20:07 -0500 |
| commit | 09dca29c8898916772c2a2a6b86b625c812007ed (patch) | |
| tree | 1b28f4751feec3ea2b46fa0afb061da7926f3a47 /modules/hostserv/main/vhost.h | |
| parent | 8b694bc392c36551e428b84454efb81cdbc8bcd3 (diff) | |
Normalize databases by not allowing generic Object references
Remove redis database support
Diffstat (limited to 'modules/hostserv/main/vhost.h')
| -rw-r--r-- | modules/hostserv/main/vhost.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/hostserv/main/vhost.h b/modules/hostserv/main/vhost.h index bdc6509d7..b96e20644 100644 --- a/modules/hostserv/main/vhost.h +++ b/modules/hostserv/main/vhost.h @@ -25,7 +25,7 @@ class VHostImpl : public HostServ::VHost { friend class VHostType; - Serialize::Storage<Serialize::Object *> owner; + Serialize::Storage<NickServ::Account *> account; Serialize::Storage<Anope::string> vident; Serialize::Storage<Anope::string> vhost; Serialize::Storage<Anope::string> creator; @@ -35,8 +35,8 @@ class VHostImpl : public HostServ::VHost public: using HostServ::VHost::VHost; - Serialize::Object *GetOwner() override; - void SetOwner(Serialize::Object *) override; + NickServ::Account *GetAccount() override; + void SetAccount(NickServ::Account *) override; Anope::string GetIdent() override; void SetIdent(const Anope::string &) override; |
