mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-28 17:58:15 -07:00
accounts: Very roughly introduce account type
This commit is contained in:
+2
-2
@@ -27,7 +27,7 @@ import (
|
||||
)
|
||||
|
||||
type Server struct {
|
||||
accounts map[string]Account
|
||||
accounts map[string]ClientAccount
|
||||
channels ChannelNameMap
|
||||
clients *ClientLookupSet
|
||||
commands chan Command
|
||||
@@ -67,7 +67,7 @@ type clientConn struct {
|
||||
|
||||
func NewServer(config *Config) *Server {
|
||||
server := &Server{
|
||||
accounts: make(map[string]Account),
|
||||
accounts: make(map[string]ClientAccount),
|
||||
channels: make(ChannelNameMap),
|
||||
clients: NewClientLookupSet(),
|
||||
commands: make(chan Command),
|
||||
|
||||
Reference in New Issue
Block a user