summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-03-04 00:32:20 +0000
committerSadie Powell <sadie@witchery.services>2025-03-04 00:43:06 +0000
commit64d26f7c611056b685f9d746b838145ab7b1efe3 (patch)
treec40bdeb1037126210467ffba380e3c6d3d197370 /modules
parent34896cefe99152ffad1cfd9dac2efbc52fcb8fa0 (diff)
Remove GetAgent and SendMechs from the SASL interface.
These are only used by ns_sasl.
Diffstat (limited to 'modules')
-rw-r--r--modules/nickserv/ns_sasl.cpp8
1 files changed, 4 insertions, 4 deletions
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<Anope::string>("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<Anope::string> mechs = Service::GetServiceKeys("SASL::Mechanism");
Anope::string buf;