summaryrefslogtreecommitdiff
path: root/src/base/proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/proto.c')
-rw-r--r--src/base/proto.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/base/proto.c b/src/base/proto.c
index 6c4113f..646b550 100644
--- a/src/base/proto.c
+++ b/src/base/proto.c
@@ -64,13 +64,13 @@ void proto_recv_error_client(char *msg)
{
return;
}
-
- printf("proto error code %d\n", errorcode);
-
+#ifdef DEBUG
+ printf(_("Proto error code: \"%d\"\n"), errorcode);
+#endif
switch(errorcode)
{
case PROTO_ERROR_CODE_BAD_VERSION :
- setMsgToAnalyze(getMyText("ERROR_BAD_VERSION"));
+ setMsgToAnalyze(_("Version of your client isn't supported by the server."));
setWorldEnd();
break;
}