kunt

golang IRC bot
git clone git://git.2f30.org/kunt.git
Log | Files | Refs | LICENSE

commit 063aa600b46ee2f39c4e0befccfd7523f5fe5ef4
parent 883b93a38d71e92b48a36daaada2261aade15933
Author: dsp <dsp@2f30.org>
Date:   Wed Apr 30 18:34:44 +0100

implemented quit fifoCmd

Diffstat:
src/kunt/kunt.go | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/kunt/kunt.go b/src/kunt/kunt.go @@ -360,6 +360,8 @@ func fifoCmdParse() { kunt.ircCtx.JoinChannels() case "urlupdate": updateUrlDbTitles("db/urls-new") + case "quit": + donechan <- true default: log.Printf("Unknown fifo command:%s\n", string(buf)) } @@ -562,4 +564,7 @@ func main() { break } } + + kunt.ircCtx.Quit("releasing entropy") + log.Println(" [Exiting] ") }