remove NOOWNER, closes #14

This commit is contained in:
Aine
2022-08-29 20:21:37 +03:00
parent ba73b5a97c
commit e0bd71717c
6 changed files with 2 additions and 12 deletions

View File

@@ -19,10 +19,6 @@ func (b *Bot) allowOwner(actorID id.UserID, targetRoomID id.RoomID) bool {
}
}
if b.noowner {
return true
}
cfg, err := b.getSettings(targetRoomID)
if err != nil {
b.Error(context.Background(), targetRoomID, "failed to retrieve settings: %v", err)