mirror of
https://github.com/mumble-voip/grumble.git
synced 2025-12-30 06:31:58 -08:00
Add clearconf option to ssh admin.
This commit is contained in:
parent
d59392b89a
commit
9ee6172b04
3 changed files with 41 additions and 8 deletions
|
|
@ -808,7 +808,8 @@ func (server *Server) UpdateConfig(key, value string) {
|
|||
server.numLogOps += 1
|
||||
}
|
||||
|
||||
// Delete the config value identified by the given key from the datastore.
|
||||
// Write to the freezelog that the config with key
|
||||
// has been reset to its default value.
|
||||
func (server *Server) ResetConfig(key string) {
|
||||
fcfg := &freezer.ConfigKeyValuePair{
|
||||
Key: proto.String(key),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue