1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 22:13:13 +02:00

Fix double lookups on accounts when authenticating.

This commit is contained in:
Sadie Powell
2025-11-09 11:38:51 +00:00
parent fb1014a53c
commit 8562445038
18 changed files with 43 additions and 65 deletions
+1 -5
View File
@@ -50,15 +50,11 @@ private:
{
}
void OnSuccess() override
void OnSuccess(NickAlias *na) override
{
if (!rpcinterface || !client)
return;
auto *na = NickAlias::Find(GetAccount());
if (!na)
return; // Should never happen.
NickCore *nc = na->nc;
if (nc->HasExt("NS_SUSPENDED"))
{