From 2f3197efb3f9dd74382d17c7bee038bdf592903a Mon Sep 17 00:00:00 2001 From: xHire Date: Tue, 29 Jul 2008 19:48:58 +0000 Subject: - the project was renamed from tuxanci-ng to tuxanci git-svn-id: http://opensvn.csie.org/tuxanci_ng@182 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/base/proto.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/base/proto.c') diff --git a/src/base/proto.c b/src/base/proto.c index 453398f..e95ca4e 100644 --- a/src/base/proto.c +++ b/src/base/proto.c @@ -77,7 +77,7 @@ void proto_send_hello_client(char *name) { char msg[STR_PROTO_SIZE]; - sprintf(msg, "hello %s %s\n", TUXANCI_NG_VERSION, name); + sprintf(msg, "hello %s %s\n", TUXANCI_VERSION, name); sendServer(msg); } @@ -96,7 +96,7 @@ void proto_recv_hello_server(client_t *client, char *msg) sscanf(msg, "%s %s %s", cmd, version, name); - if( strncmp(version, TUXANCI_NG_VERSION, strlen(TUXANCI_NG_VERSION)) != 0 ) + if( strncmp(version, TUXANCI_VERSION, strlen(TUXANCI_VERSION)) != 0 ) { proto_send_error_server(PROTO_SEND_ONE, client, PROTO_ERROR_CODE_BAD_VERSION); eventMsgInCheckFront(client); @@ -137,7 +137,7 @@ void proto_send_status_server(int type, client_t *client) name = getServerConfigFileValue("NAME", "noname"); #endif - version = TUXANCI_NG_VERSION; + version = TUXANCI_VERSION; clients = getCurrentArena()->spaceTux->list->count; maxclients = getServerMaxClients(); uptime = (unsigned int)getUpdateServer(); -- cgit v1.2.3