From 656125e790564e62e7a46661f6e6d639224ae319 Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 5 Feb 2017 15:34:32 +1300 Subject: [PATCH] conf: remove App>Debug key --- Config.go | 1 - main.go | 5 ----- 2 files changed, 6 deletions(-) diff --git a/Config.go b/Config.go index 7301f47..bf43218 100644 --- a/Config.go +++ b/Config.go @@ -5,7 +5,6 @@ type Config struct { Name string `json:"name"` Version string `json:"version"` MotdHTML string `json:"motd"` - Debug bool `json:"debug"` } Web struct { diff --git a/main.go b/main.go index 3895f75..0d7a37a 100644 --- a/main.go +++ b/main.go @@ -126,11 +126,6 @@ func (this *App) HubWorker(Nick, Pass string, so socketio.Socket, done chan stru "raw": hev.UserCommand.Command, }) - default: - if this.cfg.App.Debug { - log.Printf("[%s] %v\n", so.Id(), hev) - } - } case <-done: