mirror of
https://code.dnix.de/da/flokatirc
synced 2026-07-27 08:39:45 +02:00
Added module configuration params: -params=<key>:<val>(!<key>:<val>])*
This commit is contained in:
@@ -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)
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user