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 /include/modules/operserv | |
| parent | 8b694bc392c36551e428b84454efb81cdbc8bcd3 (diff) | |
Normalize databases by not allowing generic Object references
Remove redis database support
Diffstat (limited to 'include/modules/operserv')
| -rw-r--r-- | include/modules/operserv/info.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/modules/operserv/info.h b/include/modules/operserv/info.h index 0e2198880..0ab6d65b6 100644 --- a/include/modules/operserv/info.h +++ b/include/modules/operserv/info.h @@ -25,8 +25,11 @@ class OperInfo : public Serialize::Object public: static constexpr const char *const NAME = "operinfo"; - virtual Serialize::Object *GetTarget() anope_abstract; - virtual void SetTarget(Serialize::Object *) anope_abstract; + virtual NickServ::Account *GetAccount() anope_abstract; + virtual void SetAccount(NickServ::Account *) anope_abstract; + + virtual ChanServ::Channel *GetChannel() anope_abstract; + virtual void SetChannel(ChanServ::Channel *) anope_abstract; virtual Anope::string GetInfo() anope_abstract; virtual void SetInfo(const Anope::string &) anope_abstract; |
