Another dumb typo fix
Starting in production day in a nutshell, yeah :D
This commit is contained in:
parent
8d186b1dba
commit
a0bfc6b32f
@ -347,7 +347,7 @@ func (s *Squader) AddUserToSquad(update *tgbotapi.Update, adderRaw *dbmapping.Pl
|
||||
return s.squadUserAdditionFailure(update)
|
||||
}
|
||||
|
||||
if c.Users.PlayerBetterThan(&playerRaw, "admin") {
|
||||
if !c.Users.PlayerBetterThan(&playerRaw, "admin") {
|
||||
_, ok = c.Users.GetProfile(playerRaw.ID)
|
||||
if !ok {
|
||||
return s.squadUserAdditionFailure(update)
|
||||
|
Reference in New Issue
Block a user