fix(indexers): add (#276)

This commit is contained in:
Ludvig Lundgren 2022-05-19 06:23:50 +02:00 committed by GitHub
parent 2a23ed0185
commit 198528a474
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -376,6 +376,10 @@ func (s *service) LoadIndexerDefinitions() error {
return err
}
if d.Implementation == "" {
d.Implementation = "irc"
}
s.indexerDefinitions[d.Identifier] = d
}
@ -430,6 +434,10 @@ func (s *service) LoadCustomIndexerDefinitions() error {
return err
}
if d.Implementation == "" {
d.Implementation = "irc"
}
s.indexerDefinitions[d.Identifier] = d
customCount++