aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/ping.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2019-07-27 19:12:29 +0100
committerGravatar Sadie Powell2019-07-27 19:12:29 +0100
commitada6646b6546e936f5f9d91f63f9f9fc6f651ef5 (patch)
tree817e2f69b601d4bbf0ef720a69240050c915560d /src/modules/m_spanningtree/ping.cpp
parentRemove code relating to v3 API changes and v2 module compatibility. (diff)
parentImprove the "max connections exceeded" oper snotice. (diff)
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules/m_spanningtree/ping.cpp')
-rw-r--r--src/modules/m_spanningtree/ping.cpp4
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);
}