test
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
2c4dc46c53
commit
45ba50b132
|
@ -23,7 +23,8 @@ import (
|
|||
"git.dnix.de/an/xlog"
|
||||
)
|
||||
|
||||
var *markovPrefixLen = 3
|
||||
var markovPrefixLen *int
|
||||
|
||||
var (
|
||||
//markovPrefixLen = flag.Int("markov_prefix_len", 3, "markov: prefix len")
|
||||
markovAnswerLen = flag.Int("markov_answer_len", 10, "markov: answer len")
|
||||
|
@ -37,6 +38,7 @@ var markovChain *MarkovChain
|
|||
func init() {
|
||||
MsgFuncs["markov"] = markovHandleMessage
|
||||
RunFuncs["markov"] = markovRun
|
||||
*markovPrefixLen = 3
|
||||
}
|
||||
|
||||
func markovHandleMessage(m *Message) {
|
||||
|
|
Loading…
Reference in New Issue