diff options
-rw-r--r-- | src/modules/m_spanningtree.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 1dbf54b59..4b6e819d7 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -2256,10 +2256,18 @@ class TreeSocket : public InspSocket } else if (command == "PING") { + if (prefix == "") + { + prefix = this->GetName(); + } return this->LocalPing(prefix,params); } else if (command == "PONG") { + if (prefix == "") + { + prefix = this->GetName(); + } return this->LocalPong(prefix,params); } else if (command == "VERSION") |