forked from smtpd/qpsmtpd
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More control for isa_plugin() arguments
When a plugin is wrapped with an isa_plugin() call, the plugin we're inheriting from will receive the same arguments as the wrapper. This patch allows to modify the argument list for the wrapped plugin, i.e. * delete arguments only valid for the wrapping plugin * add additional arguments Modifying @_ directly only allows something like "for (@_) { s/a/b/g }", not adding or deleting. Returning the new @_ will much likely break existing plugins.
- Loading branch information
Showing
2 changed files
with
25 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters