From 0fac3fd74e5484ed6f37d8bf1828ee75405128ec Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 17 May 2008 05:10:36 +0000 Subject: [PATCH] fixed a bug in the new translation code usage --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402150 --- core/ConCmdManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/ConCmdManager.cpp b/core/ConCmdManager.cpp index fac00fa2..562936a7 100644 --- a/core/ConCmdManager.cpp +++ b/core/ConCmdManager.cpp @@ -494,7 +494,7 @@ bool ConCmdManager::CheckAccess(int client, const char *cmd, AdminCmdInfo *pAdmi /* If we got here, the command failed... */ char buffer[128]; - if (!CoreTranslate(buffer, sizeof(buffer), "%T", 1, NULL, "No Access", &client)) + if (!CoreTranslate(buffer, sizeof(buffer), "%T", 2, NULL, "No Access", &client)) { UTIL_Format(buffer, sizeof(buffer), "You do not have access to this command"); }