1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 19:14:47 +02:00

Fix an inverted condition in rpc_user.

This commit is contained in:
Sadie Powell
2025-11-08 18:02:04 +00:00
parent 5a56f95b35
commit 0ea89852d0
+2 -2
View File
@@ -82,9 +82,9 @@ private:
return;
if (NickAlias::Find(GetAccount()))
request.Error(ERR_INVALID_ACCOUNT, "Invalid account");
else
request.Error(ERR_INVALID_PASSWORD, "Invalid password");
else
request.Error(ERR_INVALID_ACCOUNT, "Invalid account");
rpcinterface->Reply(request);
client->SendReply(&request.reply);