mirror of
https://github.com/anope/anope.git
synced 2026-06-25 05:36:37 +02:00
Misc cleanup of ns_sasl and sasl.h.
This commit is contained in:
@@ -1301,7 +1301,7 @@ struct IRCDMessageSASL final
|
||||
|
||||
void Run(MessageSource &source, const std::vector<Anope::string> ¶ms, const Anope::map<Anope::string> &tags) override
|
||||
{
|
||||
if (!SASL::sasl)
|
||||
if (!SASL::service)
|
||||
return;
|
||||
|
||||
SASL::Message m;
|
||||
@@ -1309,7 +1309,7 @@ struct IRCDMessageSASL final
|
||||
m.target = params[0];
|
||||
m.type = params[2];
|
||||
m.data.assign(params.begin() + 3, params.end());
|
||||
SASL::sasl->ProcessMessage(m);
|
||||
SASL::service->ProcessMessage(m);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user