Move main into the right location; fix a lot of channel messages.

This commit is contained in:
Jeremy Latt
2012-12-11 22:34:22 -08:00
parent 78e741af3b
commit 5acc36409a
8 changed files with 49 additions and 39 deletions
-13
View File
@@ -1,13 +0,0 @@
package main
import (
"flag"
"irc"
)
func main() {
name := flag.String("name", "localhost", "A name for the server")
listen := flag.String("listen", ":6667", "interface to listen on")
flag.Parse()
irc.NewServer(*name).Listen(*listen)
}