// Copyright (c) 2017 Shivaram Lingamneni // released under the MIT license package irc func (server *Server) getISupport() *ISupportList { server.configurableStateMutex.RLock() defer server.configurableStateMutex.RUnlock() return server.isupport } func (server *Server) getLimits() Limits { server.configurableStateMutex.RLock() defer server.configurableStateMutex.RUnlock() return server.limits } func (server *Server) getPassword() []byte { server.configurableStateMutex.RLock() defer server.configurableStateMutex.RUnlock() return server.password }