diff --git a/plugins/admincmd.sma b/plugins/admincmd.sma index e684a051..e7bbaede 100755 --- a/plugins/admincmd.sma +++ b/plugins/admincmd.sma @@ -1124,12 +1124,14 @@ public cmdShowRcon(id, level, cid) new password[64] - get_pcvar_string(rcon_password, password, 63) + get_pcvar_string(rcon_password, password, charsmax(password)) if (!password[0]) { cmdRcon(id, level, cid) - } else { + } + else + { new args[128] read_args(args, charsmax(args)) diff --git a/plugins/adminvote.sma b/plugins/adminvote.sma index c7dbeb4f..92f933aa 100755 --- a/plugins/adminvote.sma +++ b/plugins/adminvote.sma @@ -459,11 +459,11 @@ public cmdVoteKickBan(id, level, cid) new keys = MENU_KEY_1|MENU_KEY_2 new menu_msg[256], lYes[16], lNo[16], lKickBan[16] - format(lYes, charsmax(lYes), "%L", LANG_SERVER, "YES") + format(lYes, charsmax(lYes), "%L", LANG_SERVER, "YES") format(lNo, charsmax(lNo), "%L", LANG_SERVER, "NO") format(lKickBan, charsmax(lKickBan), "%L", LANG_SERVER, voteban ? "BAN" : "KICK") ucfirst(lKickBan) - get_user_name(player, arg, 31) + get_user_name(player, arg, charsmax(arg)) format(menu_msg, charsmax(menu_msg), g_coloredMenus ? "\y%s %s?\w^n^n1. %s^n2. %s" : "%s %s?^n^n1. %s^n2. %s", lKickBan, arg, lYes, lNo) g_yesNoVote = 1