From f29e1cf383529a1a29f02b0669d973f5ee0b7a66 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 28 May 2014 12:07:29 -0400 Subject: Move most of the core pseudoclient logic to modules --- include/modules/ns_cert.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'include/modules/ns_cert.h') diff --git a/include/modules/ns_cert.h b/include/modules/ns_cert.h index b0614b2e6..f464d7fde 100644 --- a/include/modules/ns_cert.h +++ b/include/modules/ns_cert.h @@ -66,7 +66,7 @@ class CertService : public Service public: CertService(Module *c) : Service(c, "CertService", "certs") { } - virtual NickCore* FindAccountFromCert(const Anope::string &cert) = 0; + virtual NickServ::Account* FindAccountFromCert(const Anope::string &cert) = 0; }; namespace Event @@ -77,18 +77,18 @@ namespace Event * @param nc The nick * @param entry The entry */ - virtual void OnNickAddCert(NickCore *nc, const Anope::string &entry) anope_abstract; + virtual void OnNickAddCert(NickServ::Account *nc, const Anope::string &entry) anope_abstract; - /** Called from NickCore::EraseCert() - * @param nc pointer to the NickCore + /** Called from NickServ::Account::EraseCert() + * @param nc pointer to the NickServ::Account * @param entry The fingerprint */ - virtual void OnNickEraseCert(NickCore *nc, const Anope::string &entry) anope_abstract; + virtual void OnNickEraseCert(NickServ::Account *nc, const Anope::string &entry) anope_abstract; - /** called from NickCore::ClearCert() - * @param nc pointer to the NickCore + /** called from NickServ::Account::ClearCert() + * @param nc pointer to the NickServ::Account */ - virtual void OnNickClearCert(NickCore *nc) anope_abstract; + virtual void OnNickClearCert(NickServ::Account *nc) anope_abstract; }; } -- cgit