Fixing build errors

This commit is contained in:
MichaelOultram 2015-08-12 19:54:56 +01:00
parent 43f412e722
commit 77723f4941
2 changed files with 7 additions and 7 deletions

View file

@ -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:

View file

@ -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)