From 09dca29c8898916772c2a2a6b86b625c812007ed Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 7 Feb 2017 17:20:07 -0500 Subject: Normalize databases by not allowing generic Object references Remove redis database support --- include/modules/operserv/info.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include/modules/operserv') 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; -- cgit