Fixing muteID

This commit is contained in:
XXLTomate 2011-10-12 21:31:33 +02:00
parent b5f8738acd
commit 771293a922

View file

@ -345,7 +345,7 @@ void CGameContext::ConMuteID(IConsole::IResult *pResult, void *pUserData)
NETADDR Addr;
pSelf->Server()->GetClientAddr(Victim, &Addr);
pSelf->Mute(pResult, &Addr, clamp(pResult->GetInteger(0), 1, 86400), pSelf->Server()->ClientName(Victim));
pSelf->Mute(pResult, &Addr, clamp(pResult->GetInteger(1), 1, 86400), pSelf->Server()->ClientName(Victim));
}
// mute through ip, arguments reversed to workaround parsing