mirror of
https://github.com/fluffle/goirc
synced 2025-06-07 15:23:20 +00:00
Make sure we're using SVN ragel; add default Link constructor.
This commit is contained in:
parent
7e90299992
commit
f99a2c6bb8
2 changed files with 7 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue