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

@@ -87,7 +87,7 @@ func initBot(cfg *config.Config) {
// nolint // Fatal = panic, not os.Exit()
log.Fatal("cannot initialize matrix bot: %v", err)
}
mxb = bot.New(lp, mxlog, cfg.Prefix, cfg.Domain, cfg.NoOwner, cfg.Users, cfg.Admins)
mxb = bot.New(lp, mxlog, cfg.Prefix, cfg.Domain, cfg.Users, cfg.Admins)
log.Debug("bot has been created")
}