Skip to content
Permalink
Browse files

Merge branch 'master' of https://github.com/Depado/go-b0tsec

  • Loading branch information...
Depado committed May 22, 2018
2 parents 6908604 + 07d531f commit 74c184c37884915574a3603253344e8e385eb47b
Showing with 20 additions and 23 deletions.
  1. +18 −22 .drone.yml
  2. +2 −1 plugins/anon/command.go
@@ -1,25 +1,21 @@
build:
image: armhfbuild/golang:$$GO_VERSION
commands:
- apt-get update
- apt-get install libmagic-dev
- go get github.com/axw/gocov
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
- go get
- go build
- go test ./...
workspace:
base: /go
path: src/github.com/depado/go-b0tsec

matrix:
GO_VERSION:
- 1.6
- 1.5
TAG:
- 1.8
- latest

notify:
irc:
prefix: gob0tsec Build
nick: Depadrone
channel: n0sec-bot
server:
host: irc.freenode.net
port: 6667
pipeline:
build:
image: golang:${TAG}
commands:
- apt-get update
- apt-get install -y libmagic-dev
- go get github.com/axw/gocov
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
- go get
- go build
- go test
@@ -39,7 +39,8 @@ func (c *Command) Get(ib *irc.Connection, from string, to string, args []string)
return
}
if len(args) > 0 {
ib.Privmsgf(configuration.Config.Channel, "[%s] %v", string(from[rand.Intn(len(from))]), strings.Join(args, " "))
// string(from[rand.Intn(len(from))])
ib.Privmsgf(configuration.Config.Channel, "[a] %v", strings.Join(args, " "))
}
}

0 comments on commit 74c184c

Please sign in to comment.
You can’t perform that action at this time.