From 325ae8a1837c0d587ae015e096be6cdb92e77e75 Mon Sep 17 00:00:00 2001 From: RElesgoe <RElesgoe@users.noreply.github.com> Date: Fri, 2 Oct 2020 17:47:56 -0700 Subject: [PATCH] Fix regression where /ping command did not return the specified user's ping --- src/bnetd/command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bnetd/command.cpp b/src/bnetd/command.cpp index 2287f3c..7577cc4 100644 --- a/src/bnetd/command.cpp +++ b/src/bnetd/command.cpp @@ -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.");