summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-07-31 14:35:48 +0200
committermadmaxoft <github@xoft.cz>2013-07-31 14:35:48 +0200
commit15e98cc7f5fe111e5309e6320eec4c4c0a792571 (patch)
tree08775dedd0f53b82868ef3115fed9a4fb8380885 /Tools
parentProtoProxy: Added the tab completion packet parsing (diff)
downloadcuberite-15e98cc7f5fe111e5309e6320eec4c4c0a792571.tar
cuberite-15e98cc7f5fe111e5309e6320eec4c4c0a792571.tar.gz
cuberite-15e98cc7f5fe111e5309e6320eec4c4c0a792571.tar.bz2
cuberite-15e98cc7f5fe111e5309e6320eec4c4c0a792571.tar.lz
cuberite-15e98cc7f5fe111e5309e6320eec4c4c0a792571.tar.xz
cuberite-15e98cc7f5fe111e5309e6320eec4c4c0a792571.tar.zst
cuberite-15e98cc7f5fe111e5309e6320eec4c4c0a792571.zip
Diffstat (limited to 'Tools')
-rw-r--r--Tools/ProtoProxy/Connection.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tools/ProtoProxy/Connection.cpp b/Tools/ProtoProxy/Connection.cpp
index 79777c52e..fd7914bb6 100644
--- a/Tools/ProtoProxy/Connection.cpp
+++ b/Tools/ProtoProxy/Connection.cpp
@@ -2135,6 +2135,10 @@ bool cConnection::HandleServerTabCompletion(void)
last = i + 1;
}
}
+ if (last < len)
+ {
+ Log(" \"%s\"", Results.substr(last, len - last).c_str());
+ }
COPY_TO_CLIENT();
return true;
}