diff options
author | Stijn Buys <ingar@osirion.org> | 2008-07-16 22:55:07 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-07-16 22:55:07 +0000 |
commit | eb075660e7cb61b138c2da337115c59857f89e17 (patch) | |
tree | 0fe031a8f3562b22f61d0f95b740fe5f2326fd7b /src/core/netclient.cc | |
parent | fecc54ad8c5a108831c2bc268f9dd7e16b511b7e (diff) |
network protocol cleanup, radar test (doesn't work)
Diffstat (limited to 'src/core/netclient.cc')
-rw-r--r-- | src/core/netclient.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/netclient.cc b/src/core/netclient.cc index 310a64c..6113f32 100644 --- a/src/core/netclient.cc +++ b/src/core/netclient.cc @@ -113,6 +113,9 @@ void NetClient::receive(char *data) void NetClient::send(std::string const &msg) { + if (error()) + return; + sendq.append(msg); } |