1
0
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:
Daniel Vassdal
2014-02-13 09:29:39 -08:00
parent ca85df2d74
commit 3c8009b495
5 changed files with 93 additions and 51 deletions
+2 -2
View File
@@ -889,7 +889,7 @@ struct IRCDMessageSASL : IRCDMessage
void Run(MessageSource &source, const std::vector<Anope::string> &params) 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);
}
};