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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user