summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/repository/adopt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/repository/adopt.go b/modules/repository/adopt.go
index 0302119630..a37f770496 100644
--- a/modules/repository/adopt.go
+++ b/modules/repository/adopt.go
@@ -228,7 +228,7 @@ func ListUnadoptedRepositories(query string, opts *models.ListOptions) ([]string
found := false
repoLoop:
for i, repo := range repos {
- if repo.Name == name {
+ if repo.LowerName == name {
found = true
repos = append(repos[:i], repos[i+1:]...)
break repoLoop