View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 10-27-2014 , 21:10   Re: Throw error in calling plugin if call origin is a native
Reply With Quote #9

Quote:
Originally Posted by Greyscale View Post
Validation only need be done in the external API (because it's not guaranteed that your consumers will provide valid inputs). The internal implementation shouldn't need validation as all its usages are known.

Oh and hey how's it goin?
You should probably also do validation in any stocks you plan on distributing to the public.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline