From 962cc8dea0cb098b8dfe6b4c15e2f224a64f7fd9 Mon Sep 17 00:00:00 2001 From: "." <.@.> Date: Sat, 27 Aug 2016 12:38:21 +1200 Subject: [PATCH] reuse const --HG-- branch : nmdc-ircfrontend --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 4dcc457..acfd3e6 100644 --- a/main.go +++ b/main.go @@ -29,7 +29,7 @@ func main() { ircAddress := flag.String("bind", ":6667", "The address:port to bind to and listen for clients on") dcAddress := flag.String("upstream", "127.0.0.1:411", "Upstream NMDC server") - serverName := flag.String("servername", "nmdc-ircfrontend", "Server name displayed to clients") + serverName := flag.String("servername", APP_NAME, "Server name displayed to clients") hubsec := flag.String("hubsecurity", "Hub-Security", "Nick used for administrative events") verbose := flag.Bool("verbose", false, "Display debugging information") autojoin := flag.Bool("autojoin", true, "Automatically join clients to the channel")