mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-17 05:08:09 -07:00
Move main into the right location; fix a lot of channel messages.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user