compat: fix plugin load for plugins without data argument
Merge pull request #938 from bmiklautz/plugin_compat

compat: fix plugin load for plugins without data argument