diff --git a/server.go b/server.go index ba4ed29..5614abf 100644 --- a/server.go +++ b/server.go @@ -74,7 +74,7 @@ func (s *Server) handleEvent(e Event) { } //Protect the server name from being used - if newNick == s.name { + if strings.ToLower(newNick) == strings.ToLower(s.name) { e.client.reply(errNickInUse, newNick) return }