Added module configuration params: -params=<key>:<val>(!<key>:<val>])*

This commit is contained in:
Andreas Neue
2016-02-16 07:57:14 +01:00
parent 5f2dd41d55
commit 44ee1cf628
10 changed files with 67 additions and 55 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ import (
)
func init() {
msgHandlers["fuzzytime"] = fuzzytimeHandleMessage
MsgHandlers["fuzzytime"] = fuzzytimeHandleMessage
log.Println("Initializing fuzzytime module")
}
@@ -67,7 +67,7 @@ func fuzzytimeShow() {
s += fmt.Sprintf("%s Uhr\n", fuzzytimeSayHour(h+1))
}
log.Println("saying now:", s)
sayCh <- fmt.Sprintf("*\n%s", s)
SayCh <- fmt.Sprintf("*\n%s", s)
}