From dcd1f3fe7a57915b9f3c879e4dc0a2d4147f1d8a Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 30 Jul 2026 11:29:26 +0100 Subject: Use CommandBase::Params in the sasl module. --- modules/sasl.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules') diff --git a/modules/sasl.cpp b/modules/sasl.cpp index d6d57cf95..c651d460a 100644 --- a/modules/sasl.cpp +++ b/modules/sasl.cpp @@ -47,7 +47,7 @@ namespace Account::ProviderAPI* g_accountproviderapi; ClientProtocol::EventProvider* g_protoev; - void SendSASL(LocalUser* user, const std::string& agent, char mode, const std::vector& parameters) + void SendSASL(LocalUser* user, const std::string& agent, char mode, const CommandBase::Params& parameters) { auto* target = (*g_accountproviderapi)->GetServer(); if (!target) @@ -120,7 +120,7 @@ private: void SendHostIP(TLS::API& tlsapi) { - std::vector params; + CommandBase::Params params; params.reserve(3); params.push_back(user->GetRealHost()); params.push_back(user->GetAddress()); @@ -135,7 +135,7 @@ public: { SendHostIP(tlsapi); - std::vector params; + CommandBase::Params params; params.push_back(method); if (tlsapi) @@ -219,7 +219,7 @@ public: this->state = SASL_DONE; } - bool SendClientMessage(const std::vector& parameters) + bool SendClientMessage(const CommandBase::Params& parameters) { if (this->state != SASL_COMM) return true; -- cgit v1.3.1-10-gc9f91