From 64d26f7c611056b685f9d746b838145ab7b1efe3 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 4 Mar 2025 00:32:20 +0000 Subject: Remove GetAgent and SendMechs from the SASL interface. These are only used by ns_sasl. --- modules/nickserv/ns_sasl.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules') diff --git a/modules/nickserv/ns_sasl.cpp b/modules/nickserv/ns_sasl.cpp index 3b08c9e7c..58142466d 100644 --- a/modules/nickserv/ns_sasl.cpp +++ b/modules/nickserv/ns_sasl.cpp @@ -206,8 +206,8 @@ public: { SASL::Session tmp(NULL, m.source); - SASL::service->SendMechs(&tmp); - SASL::service->Fail(&tmp); + this->SendMechs(&tmp); + this->Fail(&tmp); return; } @@ -255,7 +255,7 @@ public: } } - Anope::string GetAgent() override + Anope::string GetAgent() { Anope::string agent = Config->GetModule(Service::owner).Get("agent", "NickServ"); BotInfo *bi = Config->GetClient(agent); @@ -355,7 +355,7 @@ public: } } - void SendMechs(SASL::Session *session) override + void SendMechs(SASL::Session *session) { std::vector mechs = Service::GetServiceKeys("SASL::Mechanism"); Anope::string buf; -- cgit