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

@@ -17,7 +17,6 @@ import (
// Bot represents matrix bot
type Bot struct {
noowner bool
prefix string
domain string
allowedUsers []*regexp.Regexp
@@ -37,12 +36,10 @@ func New(
log *logger.Logger,
prefix string,
domain string,
noowner bool,
allowedUsers []*regexp.Regexp,
allowedAdmins []*regexp.Regexp,
) *Bot {
b := &Bot{
noowner: noowner,
prefix: prefix,
domain: domain,
allowedUsers: allowedUsers,