summaryrefslogtreecommitdiff
path: root/server/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/connection.c')
-rw-r--r--server/connection.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/server/connection.c b/server/connection.c
index 764ca02..56be407 100644
--- a/server/connection.c
+++ b/server/connection.c
@@ -197,5 +197,7 @@ bool cServerConnection::Close()
return cTBSocket::Close();
}
-cString cServerConnection::ToText() const
-{ return cString::sprintf("%s\t%s:%d", Protocol(), RemoteIp().c_str(), RemotePort()); }
+cString cServerConnection::ToText(char Delimiter) const
+{
+ return cString::sprintf("%s%c%s:%d", Protocol(), Delimiter, RemoteIp().c_str(), RemotePort());
+}