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:
parent
cf76d2bd77
commit
09cff18972
@ -52,6 +52,8 @@ func main() {
|
||||
irc.DEBUG_CHANNEL = config.Debug.Channel
|
||||
irc.DEBUG_SERVER = config.Debug.Server
|
||||
|
||||
server := irc.NewServer(config)
|
||||
log.Println(irc.SEM_VER, "running")
|
||||
irc.NewServer(config).Run()
|
||||
defer log.Println(irc.SEM_VER, "exiting")
|
||||
server.Run()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user