summaryrefslogtreecommitdiff
path: root/libpiny/lib
diff options
context:
space:
mode:
Diffstat (limited to 'libpiny/lib')
-rw-r--r--libpiny/lib/Piny/Repo.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpiny/lib/Piny/Repo.pm b/libpiny/lib/Piny/Repo.pm
index 4afcf4f..d25c3e7 100644
--- a/libpiny/lib/Piny/Repo.pm
+++ b/libpiny/lib/Piny/Repo.pm
@@ -437,7 +437,7 @@ sub create {
$repo->rebuild_ikiwiki;
};
- return $repo;
+ return $class->new( $name );
};
# Builder methods