mirror of
https://github.com/anope/anope.git
synced 2026-07-02 05:46:38 +02:00
sasl.h, m_sasl.cpp: Add RemoveSession(), DeleteSessions(), and have active sessions closed when a Mechanism is unloaded
This commit is contained in:
@@ -889,7 +889,7 @@ struct IRCDMessageSASL : IRCDMessage
|
||||
void Run(MessageSource &source, const std::vector<Anope::string> ¶ms) anope_override
|
||||
{
|
||||
size_t p = params[1].find('!');
|
||||
if (!sasl || p == Anope::string::npos)
|
||||
if (!SASL::sasl || p == Anope::string::npos)
|
||||
return;
|
||||
|
||||
SASL::Message m;
|
||||
@@ -899,7 +899,7 @@ struct IRCDMessageSASL : IRCDMessage
|
||||
m.data = params[3];
|
||||
m.ext = params.size() > 4 ? params[4] : "";
|
||||
|
||||
sasl->ProcessMessage(m);
|
||||
SASL::sasl->ProcessMessage(m);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user