Fix: modules.go added.

This commit is contained in:
Andreas Neue
2016-02-26 22:14:21 +01:00
parent 44ee1cf628
commit c62ea59905
2 changed files with 35 additions and 3 deletions
-3
View File
@@ -31,7 +31,6 @@ func fuzzytimeHandleMessage(m *irc.Message) {
}
func fuzzytimeShow() {
log.Println("timeshow")
t := time.Now()
h := t.Hour()
tzcorrect := 1
@@ -66,9 +65,7 @@ func fuzzytimeShow() {
default:
s += fmt.Sprintf("%s Uhr\n", fuzzytimeSayHour(h+1))
}
log.Println("saying now:", s)
SayCh <- fmt.Sprintf("*\n%s", s)
}
func fuzzytimeSayHour(h int) string {