Fix typo that caused ASTokens to not be uniquely checked
MODIFY
src/github.com/matrix-org/dendrite/common/config/appservice.go
src/github.com/matrix-org/dendrite/common/config/appservice.go
@@ -180,7 +180,7 @@ func checkErrors(config *Dendrite) (err error) {
// Add the id/token to their respective maps if we haven't already
// seen them.
idMap[appservice.ID] = true
- tokenMap[appservice.ID] = true
+ tokenMap[appservice.ASToken] = true
// Check if more than one regex exists per namespace
for _, namespace := range appservice.NamespaceMap {

Fix typo that caused ASTokens to not be uniquely checked

Signed-off-by: Andrew Morgan <andrewm@matrix.org>