diff options
| author | 2014-07-03 12:42:36 +0200 | |
|---|---|---|
| committer | 2014-07-03 12:42:36 +0200 | |
| commit | 1d020d132ff6d05ffd865d025cf161d7637f10d8 (patch) | |
| tree | eda507269797254f6fe82d9bb973c4e787e325d4 /src/modules/m_spanningtree/main.cpp | |
| parent | User::ChangeNick() cannot fail if the new nick is the uuid, document this and... (diff) | |
m_spanningtree Replace manual string building of outgoing commands with CmdBuilder where possible
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 9a924fea9..e10781198 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -189,7 +189,7 @@ restart: { // They did, send a ping to them s->SetNextPingTime(curtime + Utils->PingFreq); - s->GetSocket()->WriteLine(":" + ServerInstance->Config->GetSID() + " PING " + s->GetID()); + s->GetSocket()->WriteLine(CmdBuilder("PING").push(s->GetID())); s->LastPingMsec = ts; } else |
