conf: remove App>Debug key

This commit is contained in:
mappu 2017-02-05 15:34:32 +13:00
parent 0892666ead
commit 656125e790
2 changed files with 0 additions and 6 deletions

View File

@ -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 {

View File

@ -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: