From e7526836ae4ea30a9bfdee85bc1d1be3ce378f7b Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 26 Oct 2017 21:50:28 +0900 Subject: [PATCH] ing --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index 3e6399d..7e88116 100644 --- a/server.go +++ b/server.go @@ -36,7 +36,7 @@ type server struct { } func (s *server) Start() error { - if nil != s.serverHandler { + if nil == s.serverHandler { panic("Server: server handler must be specified.") } s.serverHandler.Validate()