1
0
Fork 0
forked from External/ergo

Updates to channel persistence

1. Implement persistent channel keys (#208)
2. Persist changes to registered channel modes
3. Backend changes for persisting operator status (partial #198)
This commit is contained in:
Shivaram Lingamneni 2018-04-03 21:49:40 -04:00
parent f41067029e
commit 8fb5a38851
8 changed files with 291 additions and 110 deletions

View file

@ -252,7 +252,7 @@ func csRegisterHandler(server *Server, client *Client, command, params string, r
}
// registration was successful: make the database reflect it
go server.channelRegistry.StoreChannel(channelInfo, true)
go server.channelRegistry.StoreChannel(channelInfo, IncludeAllChannelAttrs)
csNotice(rb, fmt.Sprintf(client.t("Channel %s successfully registered"), channelName))