Wrong language key in vote kick/ban (amb1456)

This commit is contained in:
Steve Dudenhoeffer 2008-04-10 06:12:35 +00:00
parent e3e64233ec
commit 145ff45876

View File

@ -531,7 +531,7 @@ public cmdVoteKickBan(id, level, cid)
formatex(lKickBan, charsmax(lKickBan), "%L", i, voteban ? "BAN" : "KICK"); formatex(lKickBan, charsmax(lKickBan), "%L", i, voteban ? "BAN" : "KICK");
// HACK: ADMIN_VOTE_FOR{1,2} keys are really weird. Tokenize and ignore the text before the : // HACK: ADMIN_VOTE_FOR{1,2} keys are really weird. Tokenize and ignore the text before the :
LookupLangKey(msg, charsmax(msg), "ADMIN_CANC_VOTE_1", i); LookupLangKey(msg, charsmax(msg), "ADMIN_VOTE_FOR_1", i);
strtok(msg, dummy, 0, right, charsmax(right), ':'); strtok(msg, dummy, 0, right, charsmax(right), ':');
trim(right); trim(right);
show_activity_id(i, id, name, right, lKickBan, arg); show_activity_id(i, id, name, right, lKickBan, arg);