Fix some notes and add some comments.

This commit is contained in:
Daniel Oaks
2017-10-05 23:29:34 +10:00
parent 797b9f0996
commit eac6a69782
5 changed files with 36 additions and 16 deletions
+1
View File
@@ -1592,6 +1592,7 @@ func (server *Server) setupListeners(config *Config) {
}
}
// GetDefaultChannelModes returns our default channel modes.
func (server *Server) GetDefaultChannelModes() Modes {
server.configurableStateMutex.RLock()
defer server.configurableStateMutex.RUnlock()