Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds a can_get_var wrapper #14

Closed
wants to merge 1 commit into from
Closed

Conversation

Absolucy
Copy link

This simply adds an can_get_var wrapper - in SS13, it would be this:

/proc/wrap_lua_can_get_var(datum/thingymajig, var_name)
	SHOULD_NOT_SLEEP(TRUE)
	return thingymajig.can_vv_get(var_name)

This allows for improved safety with certain things, such as preventing Lua scripts from being used to leak, like, the DB connection info or something

2024-03-17 (1710732757) ~ dreamseeker

@Absolucy
Copy link
Author

image

... oh nvm this isn't worth the time

@Absolucy Absolucy closed this Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant