mirror of
https://github.com/anope/anope.git
synced 2026-06-25 18:56:37 +02:00
Misc cleanup of ns_sasl and sasl.h.
This commit is contained in:
@@ -217,14 +217,14 @@ struct IRCDMessageEncap final
|
||||
*
|
||||
* Solanum only accepts messages from SASL agents; these must have umode +S
|
||||
*/
|
||||
else if (params[1] == "SASL" && SASL::sasl && params.size() >= 6)
|
||||
else if (params[1] == "SASL" && SASL::service && params.size() >= 6)
|
||||
{
|
||||
SASL::Message m;
|
||||
m.source = params[2];
|
||||
m.target = params[3];
|
||||
m.type = params[4];
|
||||
m.data.assign(params.begin() + 5, params.end());
|
||||
SASL::sasl->ProcessMessage(m);
|
||||
SASL::service->ProcessMessage(m);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user