git://git.camperquake.de
/
xmlrtorrent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8a6d2b6
)
load submodule config on startup
author
Christian Garbs
<mitch@cgarbs.de>
Sun, 28 Dec 2008 13:07:00 +0000
(14:07 +0100)
committer
Christian Garbs
<mitch@cgarbs.de>
Sun, 28 Dec 2008 13:07:00 +0000
(14:07 +0100)
xmlrtorrent.pl
patch
|
blob
|
history
diff --git
a/xmlrtorrent.pl
b/xmlrtorrent.pl
index
1ba5842
..
0f50ba9
100644
(file)
--- a/
xmlrtorrent.pl
+++ b/
xmlrtorrent.pl
@@
-431,6
+431,10
@@
sub init_xmlrtorrent {
write_debug('Selected %s as talker', $talker->{'NAME'});
$conf->{'xmlrtorrent'}->{'talker'} = $talker->{'NAME'};
write_debug('Selected %s as talker', $talker->{'NAME'});
$conf->{'xmlrtorrent'}->{'talker'} = $talker->{'NAME'};
+ # Loop through all plugins and load the config
+ foreach $p (@talkers) {
+ $conf->{'xmlrtorrent'}->{'config'}->{$p->{'NAME'}} = $p->mergeconfig($conf->{'xmlrtorrent'}->{'config'}->{$p->{'NAME'}});
+ }
# Restore the queue
%torrentlist = %{$conf->{'xmlrtorrent'}->{'_QUEUE'}};
# Restore the queue
%torrentlist = %{$conf->{'xmlrtorrent'}->{'_QUEUE'}};