mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
Split isupport to its' own subpackage
This commit is contained in:
parent
eac6a69782
commit
4aa52956e5
5 changed files with 35 additions and 29 deletions
|
|
@ -3,7 +3,9 @@
|
|||
|
||||
package irc
|
||||
|
||||
func (server *Server) getISupport() *ISupportList {
|
||||
import "github.com/oragono/oragono/irc/isupport"
|
||||
|
||||
func (server *Server) getISupport() *isupport.List {
|
||||
server.configurableStateMutex.RLock()
|
||||
defer server.configurableStateMutex.RUnlock()
|
||||
return server.isupport
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue