Quote:
Originally Posted by ddhoward
What constitutes a "valid client" differs depending on the plugin, the function, etc.
I made this stock for use in all my plugins a while ago, but even this will have places where something more specific is needed.
|
A native that makes sure that the "client [BLAH] is not valid" exception (returns true if the exception isn't thrown, false otherwise) isn't thrown doesn't sound like it would "differ" from plugin to plugin. I don't think any plugin would want exceptions in their code.
But again, try/catch statements would also solve the problem if they existed in the first place.
/irrelevant derailing that doesn't help the OP