core/ConCmdManager.cpp
changeset 2042 4a2faafca477
parent 1996 3f0cd604812b
child 2055 e94e6fcd3f0e
     1.1 --- a/core/ConCmdManager.cpp	Fri May 09 08:22:39 2008 +0000
     1.2 +++ b/core/ConCmdManager.cpp	Sat May 10 09:23:55 2008 +0000
     1.3 @@ -494,8 +494,7 @@
     1.4  	
     1.5  	/* If we got here, the command failed... */
     1.6  	char buffer[128];
     1.7 -	if (g_Translator.CoreTrans(client, buffer, sizeof(buffer), "No Access", NULL, NULL)
     1.8 -		!= Trans_Okay)
     1.9 +	if (!CoreTranslate(buffer, sizeof(buffer), "%T", 1, NULL, "No Access", &client))
    1.10  	{
    1.11  		UTIL_Format(buffer, sizeof(buffer), "You do not have access to this command");
    1.12  	}