From a9989ac3978bd6e1f9e915aeed399d9db327c235 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Fri, 19 Jul 2019 13:01:59 +0100 Subject: Get rid of CommandBuilder::push_back. --- src/modules/m_spanningtree/ping.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_spanningtree/ping.cpp') diff --git a/src/modules/m_spanningtree/ping.cpp b/src/modules/m_spanningtree/ping.cpp index 844feb35b..51e87874d 100644 --- a/src/modules/m_spanningtree/ping.cpp +++ b/src/modules/m_spanningtree/ping.cpp @@ -30,10 +30,10 @@ CmdResult CommandPing::Handle(User* user, Params& params) { // PING for us, reply with a PONG CmdBuilder reply("PONG"); - reply.push_back(user->uuid); + reply.push(user->uuid); if (params.size() >= 2) // If there is a second parameter, append it - reply.push_back(params[1]); + reply.push(params[1]); reply.Unicast(user); } -- cgit v1.3.1-10-gc9f91