Fix regression where /ping command did not return the specified user's ping

This commit is contained in:
RElesgoe 2020-10-02 17:47:56 -07:00 committed by GitHub
parent ca61400e5d
commit 325ae8a183
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4825,7 +4825,7 @@ namespace pvpgn
msgtemp = localize(c, "Your latency {}", conn_get_latency(c));
}
else if ((user = connlist_find_connection_by_accountname(text)))
msgtemp = localize(c, "{} latency ()", text, conn_get_latency(user));
msgtemp = localize(c, "{} latency {}", text, conn_get_latency(user));
else
{
msgtemp = localize(c, "Invalid user.");