Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' of https://github.com/Depado/go-b0tsec
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Lhussiez committed May 22, 2018
2 parents 6908604 + 07d531f commit 74c184c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 23 deletions.
40 changes: 18 additions & 22 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion plugins/anon/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, " "))
}
}

Expand Down

0 comments on commit 74c184c

Please sign in to comment.