diff options
author | madmaxoft <github@xoft.cz> | 2014-09-17 20:55:46 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-09-17 20:56:33 +0200 |
commit | 16e9deba8d61abad80ef8a1935db1207fd6c3a68 (patch) | |
tree | 299f12bda3da2c0931d9ca70103668e8c580cf3f /src/Protocol/Protocol17x.cpp | |
parent | Fixed wrong url in the debuggers plugin (diff) | |
download | cuberite-16e9deba8d61abad80ef8a1935db1207fd6c3a68.tar cuberite-16e9deba8d61abad80ef8a1935db1207fd6c3a68.tar.gz cuberite-16e9deba8d61abad80ef8a1935db1207fd6c3a68.tar.bz2 cuberite-16e9deba8d61abad80ef8a1935db1207fd6c3a68.tar.lz cuberite-16e9deba8d61abad80ef8a1935db1207fd6c3a68.tar.xz cuberite-16e9deba8d61abad80ef8a1935db1207fd6c3a68.tar.zst cuberite-16e9deba8d61abad80ef8a1935db1207fd6c3a68.zip |
Diffstat (limited to 'src/Protocol/Protocol17x.cpp')
-rw-r--r-- | src/Protocol/Protocol17x.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp index 4f71b53b0..7d80e79fb 100644 --- a/src/Protocol/Protocol17x.cpp +++ b/src/Protocol/Protocol17x.cpp @@ -104,7 +104,7 @@ cProtocol172::cProtocol172(cClientHandle * a_Client, const AString & a_ServerAdd // If BC is setup with ip_forward == true, it sends additional data in the login packet's ServerAddress field: // hostname\00ip-address\00uuid\00profile-properties-as-json AStringVector Params; - if (SplitZeroTerminatedStrings(a_ServerAddress, Params) && (Params.size() == 4)) + if (cRoot::Get()->GetServer()->ShouldAllowBungeeCord() && SplitZeroTerminatedStrings(a_ServerAddress, Params) && (Params.size() == 4)) { LOGD("Player at %s connected via BungeeCord", Params[1].c_str()); m_ServerAddress = Params[0]; |