mirror of https://github.com/fluffle/goirc
Make sure we're using SVN ragel; add default Link constructor.
This commit is contained in:
parent
7e90299992
commit
f99a2c6bb8
|
@ -12,5 +12,5 @@ GOFILES=\
|
|||
include $(GOROOT)/src/Make.pkg
|
||||
|
||||
parser.go: parser.rl
|
||||
ragel -Z -G2 -o parser.go parser.rl
|
||||
ragel-svn -Z -G2 -o parser.go parser.rl
|
||||
|
||||
|
|
|
@ -137,6 +137,12 @@ type cLink struct {
|
|||
SSL, Zip, Auto bool
|
||||
}
|
||||
|
||||
func defaultLink() *cLink {
|
||||
return &cLink{
|
||||
SSL: false, Zip: false, Auto: false,
|
||||
}
|
||||
}
|
||||
|
||||
/* Static ban configuration */
|
||||
type cBan interface {
|
||||
Match(string) bool
|
||||
|
|
Loading…
Reference in New Issue