Fixing build errors
This commit is contained in:
parent
43f412e722
commit
77723f4941
12
circle.yml
12
circle.yml
|
@ -12,12 +12,12 @@ dependencies:
|
|||
- make
|
||||
- make install
|
||||
cache_directories:
|
||||
- $HOME/opus
|
||||
- $HOME/bin
|
||||
- $HOME/gopath/bin
|
||||
- $HOME/gopath/pkg
|
||||
- $HOME/gopath/src/github.com/nitrous-io
|
||||
- $HOME/gopath/src/github.com/MichaelOultram/mumbledj/.vendor
|
||||
- "$HOME/opus"
|
||||
- "$HOME/bin"
|
||||
- "$HOME/gopath/bin"
|
||||
- "$HOME/gopath/pkg"
|
||||
- "$HOME/gopath/src/github.com/nitrous-io"
|
||||
- "$HOME/gopath/src/github.com/MichaelOultram/mumbledj/.vendor"
|
||||
test:
|
||||
override:
|
||||
- mumbledj -server=$MUMBLE_IP -port=$MUMBLE_PORT -username=circleci -password=$MUMBLE_PASSWORD -verbose=true -test=true:
|
||||
|
|
|
@ -161,7 +161,7 @@ func parseCommand(user *gumble.User, username, command string) {
|
|||
}
|
||||
// Test command (WORKAROUND)
|
||||
case "test":
|
||||
if dj.HasPermission(username, dj.conf.Permissions.AdminKill) && test != nil {
|
||||
if dj.HasPermission(username, dj.conf.Permissions.AdminKill) {
|
||||
test.testYoutubeSong()
|
||||
} else {
|
||||
dj.SendPrivateMessage(user, NO_PERMISSION_MSG)
|
||||
|
|
Reference in a new issue