3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-10 22:19:31 +01:00

print message when exiting main program

This commit is contained in:
Jeremy Latt 2014-03-08 11:59:34 -08:00
parent cf76d2bd77
commit 09cff18972

View File

@ -52,6 +52,8 @@ func main() {
irc.DEBUG_CHANNEL = config.Debug.Channel irc.DEBUG_CHANNEL = config.Debug.Channel
irc.DEBUG_SERVER = config.Debug.Server irc.DEBUG_SERVER = config.Debug.Server
server := irc.NewServer(config)
log.Println(irc.SEM_VER, "running") log.Println(irc.SEM_VER, "running")
irc.NewServer(config).Run() defer log.Println(irc.SEM_VER, "exiting")
server.Run()
} }