mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
Wrong language key in vote kick/ban (amb1456)
This commit is contained in:
parent
e3e64233ec
commit
145ff45876
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user