Thread: HTTP:X
View Single Post
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 05-22-2016 , 19:03   Re: HTTP:X
Reply With Quote #8

Quote:
Originally Posted by Black Rose View Post
If a plugin was using the include there would be no point of autoupdating since it wouldn't pass the compiler. This is done intentionally.
I don't see how set_module_filter() would help in this case. I have never used that function and I'm having a hard time understanding what it actually does. If you can show me what your thoughts were I would appreciate it.
Oh, I totally misunderstood how the plugin updater works. I just saw that it actually downloads files from the web compiler, that wasn't obvious at first. Now I see why you used callfunc instead of creating a native, that explains it.
But here's the question then - what if a plugin includes a non-standard include file? Just like your own? That could be solved by copying include file's contents onto the top of the code, but that's not really the solution.

Quote:
Originally Posted by Black Rose View Post
Thank you for your feedback.
Anytime. I really like this plugin/API and I am happy to help at improving it.
klippy is offline