summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-02 15:30:29 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-02 15:30:29 +0000
commit1367304b8c764d59f3bc9700db30c04d2deea8a6 (patch)
tree8743839f33782623cfeae0bffc119fa77ac3b190 /src/base
parentf7222e01e1f9d3732541e90497f1e535daa02825 (diff)
- oprava chyby, sietova hra spadla ak ste cheli hrat viac ako raz
- server neoznamoval clientovy info o tom, ze ma nespravnu verziu git-svn-id: http://opensvn.csie.org/tuxanci_ng@86 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/base')
-rw-r--r--src/base/proto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/base/proto.c b/src/base/proto.c
index 3936917..9c9c3c7 100644
--- a/src/base/proto.c
+++ b/src/base/proto.c
@@ -96,6 +96,7 @@ void proto_recv_hello_server(client_t *client, char *msg)
if( strncmp(version, TUXANCI_NG_VERSION, strlen(TUXANCI_NG_VERSION)) != 0 )
{
proto_send_error_server(PROTO_SEND_ONE, client, PROTO_ERROR_CODE_BAD_VERSION);
+ eventMsgInCheckFront(client);
client->status = NET_STATUS_ZOMBIE;
return;
}