diff options
author | Stijn Buys <ingar@osirion.org> | 2011-07-10 20:19:14 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2011-07-10 20:19:14 +0000 |
commit | 02169591261cc09047117ddff961595717c8903a (patch) | |
tree | 7e4e207dd4cf01385036cd046e1d69c36d2d3040 /src/core/netconnection.cc | |
parent | e18fa1d8ad9208a9f5bcfe2d97d36ae3675c80f1 (diff) |
Add player guid to the connection string .
Diffstat (limited to 'src/core/netconnection.cc')
-rw-r--r-- | src/core/netconnection.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/netconnection.cc b/src/core/netconnection.cc index fd844aa..3c68be9 100644 --- a/src/core/netconnection.cc +++ b/src/core/netconnection.cc @@ -338,7 +338,7 @@ void NetConnection::send_raw(std::string const &msg) void NetConnection::send_connect() { std::ostringstream msg; - msg << "connect " << PROTOCOLVERSION << "\n"; + msg << "connect " << PROTOCOLVERSION << " " << localplayer()->guid().str() << "\n"; this->send_raw(msg.str()); } |