|
@@ -198,7 +198,7 @@ func (cm *ChannelManager) SetRegistered(channelName string, account string) (err
|
198
|
198
|
defer func() {
|
199
|
199
|
if err == nil && channel != nil {
|
200
|
200
|
// registration was successful: make the database reflect it
|
201
|
|
- err = channel.Store(IncludeAllChannelAttrs)
|
|
201
|
+ err = channel.Store(IncludeAllAttrs)
|
202
|
202
|
}
|
203
|
203
|
}()
|
204
|
204
|
|
|
@@ -272,7 +272,7 @@ func (cm *ChannelManager) Rename(name string, newName string) (err error) {
|
272
|
272
|
var info RegisteredChannel
|
273
|
273
|
defer func() {
|
274
|
274
|
if channel != nil && info.Founder != "" {
|
275
|
|
- channel.Store(IncludeAllChannelAttrs)
|
|
275
|
+ channel.Store(IncludeAllAttrs)
|
276
|
276
|
// we just flushed the channel under its new name, therefore this delete
|
277
|
277
|
// cannot be overwritten by a write to the old name:
|
278
|
278
|
cm.server.channelRegistry.Delete(info)
|