aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-08-06 01:05:44 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-08-06 01:05:44 -0400
commit86660e9c82b67f9165cb5fabe28c341a338d8c4e (patch)
treec53e9d3f91f2a3e29f035156c77d417e68611c8f /IkiWiki
parent68018323aebcd89a5b674e7fd512c4ecd6c0f435 (diff)
downloadikiwiki-86660e9c82b67f9165cb5fabe28c341a338d8c4e.tar
ikiwiki-86660e9c82b67f9165cb5fabe28c341a338d8c4e.tar.gz
external: Fix support for hooks called in an array context.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/external.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/external.pm b/IkiWiki/Plugin/external.pm
index ff3b2d8ed..ba6c7d8b9 100644
--- a/IkiWiki/Plugin/external.pm
+++ b/IkiWiki/Plugin/external.pm
@@ -217,8 +217,7 @@ sub hook ($@) { #{{{
delete $params{call};
IkiWiki::hook(%params, call => sub {
- my $ret=IkiWiki::Plugin::external::rpc_call($plugin, $callback, @_);
- return $ret;
+ IkiWiki::Plugin::external::rpc_call($plugin, $callback, @_);
});
} #}}}