diff options
| author | 2019-07-19 13:01:59 +0100 | |
|---|---|---|
| committer | 2019-07-19 13:01:59 +0100 | |
| commit | a9989ac3978bd6e1f9e915aeed399d9db327c235 (patch) | |
| tree | cd9efae25b10cb7fb7de7178652182d7715c18dd /src/modules/m_spanningtree/ping.cpp | |
| parent | spanningtree: Never send a message to a raw UUID in CmdBuilder. (diff) | |
Get rid of CommandBuilder::push_back.
Diffstat (limited to 'src/modules/m_spanningtree/ping.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/ping.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |
