diff options
Diffstat (limited to 'src/base')
| -rwxr-xr-x | src/base/homeDirector.h | 2 | ||||
| -rw-r--r-- | src/base/path.h | 12 | ||||
| -rw-r--r-- | src/base/proto.c | 6 |
3 files changed, 10 insertions, 10 deletions
diff --git a/src/base/homeDirector.h b/src/base/homeDirector.h index 85f8172..c8b1114 100755 --- a/src/base/homeDirector.h +++ b/src/base/homeDirector.h @@ -5,7 +5,7 @@ #include "main.h" -#define HOMEDIRECTOR_NAME ".tuxanci-ng" +#define HOMEDIRECTOR_NAME ".tuxanci" extern void createHomeDirector(); extern char *getHomeDirector(); diff --git a/src/base/path.h b/src/base/path.h index 294e634..f547f69 100644 --- a/src/base/path.h +++ b/src/base/path.h @@ -14,20 +14,20 @@ #endif #ifndef PUBLIC_SERVER - #define PATH_DIR PREFIX "/share/tuxanci-ng/" + #define PATH_DIR PREFIX "/share/tuxanci/" #ifndef __WIN32__ - #define PATH_MODULES PREFIX "/lib/tuxanci-ng/" + #define PATH_MODULES PREFIX "/lib/tuxanci/" #else #define PATH_MODULES PREFIX "/bin/" #endif #else - #define PATH_DIR PREFIX "/share/tuxanci-ng-server/" + #define PATH_DIR PREFIX "/share/tuxanci-server/" #ifndef __WIN32__ - #define PATH_MODULES PREFIX "/lib/tuxanci-ng-server/" - #define SERVER_CONFIG "/etc/tuxanci-ng-server/server.conf" + #define PATH_MODULES PREFIX "/lib/tuxanci-server/" + #define SERVER_CONFIG "/etc/tuxanci-server/server.conf" #else #define PATH_MODULES PREFIX "/bin/" - #define SERVER_CONFIG PREFIX "/etc/tuxanci-ng-server/server.conf" + #define SERVER_CONFIG PREFIX "/etc/tuxanci-server/server.conf" #endif #endif 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(); |